04 2019 档案

摘要:输出 阅读全文
posted @ 2019-04-29 17:23 朋克 阅读(416) 评论(0) 推荐(0)
摘要:错误示范: 正确示范: 两者区别在于on条件中,第一个条件new的对象要加入字段名 阅读全文
posted @ 2019-04-23 22:42 朋克 阅读(877) 评论(0) 推荐(0)
摘要:一、访问原项目地址,报404错误 由于原项目地址启动路径为http://localhost:8080/xxx Spring boot默认启动路径为http://localhost:8080/ 所以需要添加context-path配置,在application.properties中添加 即可 二、访 阅读全文
posted @ 2019-04-11 17:55 朋克 阅读(899) 评论(0) 推荐(0)
摘要:一、项目改为Springboot项目 1.将pom中所有spring相关依赖删除,添加spring-boot-starter及spring-boot-starter-web(项目中可能有其他spring依赖,单独添加即可) 2.将pom中mybatis相关依赖删除,添加mybatis-spring- 阅读全文
posted @ 2019-04-04 13:39 朋克 阅读(2635) 评论(0) 推荐(0)