最新回答 / 是泪还是累
# LifeAssistantApplication.class 一定要改成你自己的springboot的启动类,我也是网上拷贝的Application.clas导致出错。public class SpringBootStartApplication extends SpringBootServletInitializer { @Override protected Spr...
2018-09-08
最赞回答 / 慕虎638682
错误原因:没有在主函数的类中对Mapper层进行扫描。解决:加上对mapper层的扫描MapperScan@ComponentScan(basePackages = { "cn.iponkan.controller"})@MapperScan(basePackages = {"cn.iponkan.mapper"})@EnableAutoConfigurationpublic class SpringBootApplication { public static void main(String[]...
2018-09-06
最新回答 / BinaryRhythm
报错信息:Description Resource Path Location Type1 problem was encountered while building the effective model for org.springframework.boot:spring-boot-maven-plugin:1.5.15.RELEASE[FATAL] Non-parseable POM C:\Users\ViceCode\.m2\repository\com\fasterxml\jackson\j...
2018-09-05