that could not be found
程序员文章站
2022-05-13 17:43:51
...
# 情景
我是在springboot创建多module的时候,遇到的错误,因为当前web项目需要用到module中的类文件
但是只扫描到了当前项目当中的类文件,所以需要指定扫描
@SpringBootApplication
@MapperScan({"cn.jhxcom.web.demo.mapper",
"com.baomidou.mybatisplus.samples.quickstart.mapper",
"cn.jhxcom.project.system.user.mapper",
})
public class HaoWebDemoApplication {...}
# 解决如上所示,代码区域
在springboot启动类中添加扫描类路径@MapperScan
推荐阅读
-
解决Mono For Android不能编译问题:Could not create the Android package
-
android Studio调试出现USB device not found怎么办?
-
详解ASP.NET Core 处理 404 Not Found
-
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
-
VSCode出现ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)错误
-
Spring MVC 404 Not Found无错误日志的解决方法
-
404 not found是什么意思?为什么会出现404 not found页面以及如何解决?
-
浏览器播放视频黑屏提示Could not load plugins 怎么办?
-
notfound是什么意思(404not found恢复方法)
-
Could not load file or assembly Microsoft.SqlServer.Management.Sdk.Sfc, Version=