We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef6905 commit 82476baCopy full SHA for 82476ba
src/main/java/tk/mybatis/springboot/Application.java
@@ -1,6 +1,7 @@
1
package tk.mybatis.springboot;
2
3
-import org.mybatis.spring.annotation.MapperScan;
+//特别注意,下面的是 tk.MapperScan
4
+
5
import org.slf4j.Logger;
6
import org.slf4j.LoggerFactory;
7
import org.springframework.boot.CommandLineRunner;
@@ -10,6 +11,7 @@
10
11
import org.springframework.web.bind.annotation.RequestMapping;
12
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
13
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
14
+import tk.mybatis.spring.annotation.MapperScan;
15
16
/**
17
* @author liuzh
0 commit comments