04 2019 档案
摘要:错误示范: 正确示范: 两者区别在于on条件中,第一个条件new的对象要加入字段名
阅读全文
摘要:一、访问原项目地址,报404错误 由于原项目地址启动路径为http://localhost:8080/xxx Spring boot默认启动路径为http://localhost:8080/ 所以需要添加context-path配置,在application.properties中添加 即可 二、访
阅读全文
摘要:一、项目改为Springboot项目 1.将pom中所有spring相关依赖删除,添加spring-boot-starter及spring-boot-starter-web(项目中可能有其他spring依赖,单独添加即可) 2.将pom中mybatis相关依赖删除,添加mybatis-spring-
阅读全文
浙公网安备 33010602011771号