diff --git a/pom.xml b/pom.xml index 662b4ce..fbcc022 100644 --- a/pom.xml +++ b/pom.xml @@ -15,28 +15,46 @@ Spring Boot 3 + Vue 3 构建的前后端分离小说系统 17 + 3.5.1 org.springframework.boot spring-boot-starter-web - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - 2.2.2 + org.springframework.boot - spring-boot-starter - - - org.springframework.boot - spring-boot-starter-jdbc + spring-boot-starter-tomcat + + + org.springframework.boot + spring-boot-starter-undertow + + + + + com.baomidou + mybatis-plus-boot-starter + ${mybatis-plus.version} + + + com.baomidou + mybatis-plus-generator + ${mybatis-plus.version} + + + org.apache.velocity + velocity-engine-core + 2.3 + compile + true + + org.springframework.boot spring-boot-devtools diff --git a/src/main/java/io/github/xxyopen/novel/NovelApplication.java b/src/main/java/io/github/xxyopen/novel/NovelApplication.java index 36a117a..fb91b74 100644 --- a/src/main/java/io/github/xxyopen/novel/NovelApplication.java +++ b/src/main/java/io/github/xxyopen/novel/NovelApplication.java @@ -1,9 +1,11 @@ package io.github.xxyopen.novel; +import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication +@MapperScan("io.github.xxyopen.novel.dao.mapper") public class NovelApplication { public static void main(String[] args) {