随笔分类 - Spring Boot
摘要:本人项目产生此问题的原因是: 本地备份了一份xxxmapper.xml的副本“xxxmapper - 副本.xml”,应该是系统会自动加载“mappe”目录下的所有xml文件。 参考:https://blog.csdn.net/xiaojie119120/article/details/786211
阅读全文
摘要:场景: 1、直接用eclipse 运行没问题(本地用的tomcat是7.0.70); 2、打包发布到服务器运行也没问题(服务器tomcat是8.5.30); 3、将打包发布的放到本地tomcat(7.0.70)运行 遇到了上述问题。 我的解决方案:安装tomcat8.5.32,部署到新版tomcat
阅读全文
摘要://Application 开启注解 @EnableSwagger2public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args);
阅读全文
摘要:工具(详情) eclipse、Swagger、P3C、mybatis-generator...... 批量修改包名前缀 Project Explorer > 选中项目 > view menu > Package Presentation > Hierarchical url 忽略大小写、拦截器 参考
阅读全文

浙公网安备 33010602011771号