报错案例
喵喵miao
珍爱生命,远离bug
展开
-
方法中注入配置文件中的参数注入不进来
@RestControllerpublic class XXXController { @Value("${logFlag}") private String logFlag; @Autowired private InsuInfoService insuInfoService; @ResponseBody @RequestMapping(value="原创 2017-07-27 16:00:13 · 1197 阅读 · 0 评论 -
错误: 找不到或无法加载主类 com.taikang.Application
springboot项目时不时的就会出现这个错误, 错误: 找不到或无法加载主类 com.taikang.Application 解决方案: 自己在maven clean之后,会把target里边的清理表,项目就需要重新进行编译,这时候如果运行的话就会出现以上错误,在运行项目之前,需要maven install一下即可。原创 2017-07-27 16:26:56 · 10792 阅读 · 0 评论 -
'dependencies.dependency.version' for XXX:jar is missing
springboot新建项目,pom文件报错,依赖包的版本丢失:[INFO] Scanning for projects...[ERROR] [ERROR] Some problems were encountered while processing the POMs:[ERROR] 'dependencies.dependency.version' for XXX:jar is missing原创 2017-08-29 10:30:20 · 64019 阅读 · 7 评论 -
An internal error occurred during: "Building workspace". PermGen space
An internal error occurred during: “Building workspace”. PermGen space原创 2017-08-29 14:46:57 · 593 阅读 · 0 评论 -
Consider defining a bean of type 'com.taikang.service.ChongyGameInfoService' in your configuration.
Consider defining a bean of type 'com.taikang.service.ChongyGameInfoService' in your configuration.原创 2017-09-08 14:23:44 · 3875 阅读 · 2 评论 -
压测tps很低并且呈下降趋势,原因解析
压测tps很低并且呈下降趋势,原因解析原创 2017-09-25 15:32:22 · 11703 阅读 · 1 评论 -
Consider defining a bean of type ‘tk.mybatis.mapper.common.Mapper’ in your configuration.
Consider defining a bean of type 'tk.mybatis.mapper.common.Mapper' in your configuration.No qualifying bean found for dependency [tk.mybatis.mapper.common.Mapper<com.xx.model.QixiGameInfo>]: expected at least原创 2017-07-26 14:18:24 · 7733 阅读 · 0 评论 -
springboot 启动报错 java.lang.IllegalStateException: Failed to introspect annotated methods on class org
idea启动springboot +maven项目报错: . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |原创 2017-11-03 14:53:22 · 52789 阅读 · 9 评论