
常见错误
revent
炫酷人生
展开
-
springboot2.0访问路径出现template might not exist or might not be accessible by any of the configured Temp
使用SpringBoot2.0访问路径时,出现如下错误,记录一下@RequestMapping("index2") public String index2() { System.out.println("index2"); return "index2"; }这里我的返回写成了 return "index2"正确写法是 ...原创 2019-03-15 19:02:52 · 4703 阅读 · 0 评论 -
springboot忽然启动变慢如何解决
解决变法,把项目中的所有断点全部取消,删除,再次启动就变快了原创 2019-03-25 11:34:31 · 1220 阅读 · 1 评论 -
springboot集成mybatis-plus需要注意的问题
mybatis-plus的核心jar包中已集成了mybatis和mybatis-spring,所以为避免冲突,请勿再次引用这两个jar包。原创 2019-03-25 23:26:45 · 1526 阅读 · 0 评论 -
layui数据加载渲染数据表格时会重复加载
今天在查询时,总是遇到数据表格加载两次的问题,后来网上找了一下我用的是button,换成<a>超级连接的方式就正常了<!-- 这里不要用button,会造成重复提交 --> <!-- <button class="layui-btn" id="search" data-type="reload">搜索</button&...原创 2019-03-26 21:32:15 · 2815 阅读 · 1 评论 -
Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation.MapperScan.factoryBea
出现下列错误java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation.MapperScan.factoryBean() at java.lang.reflect.Method.getDefaultVal...原创 2019-04-04 19:23:31 · 14234 阅读 · 6 评论