tomcat启动一个spring的项目,tomcat使用8.5,JDK使用1.8,Spring使用3.0,启动之后报错 Caused by: java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>(Unknown Source) at org.springframework.asm.ClassReader.<init>(Unknown Source) at org.spring…
Spring.之.报错 No Spring Session store is configured springboot在启动的时候报如下错误: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2019-09-09 20:55:14.732 ERROR 5564 --- [ main] o.s.boot…
下面是我的报错信息 at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Na…
使用spring boot对项目改造,启动报错: Caused by: java.lang.IllegalArgumentException: At least one JPA metamodel must be present! 估计是跟多个数据源有关,改成如下这样就可以了 @SpringBootApplication @EnableAutoConfiguration(exclude={ JpaRepositoriesAutoConfiguration.class//禁止springboot自…
今天笔者用Springboot框架整合Mybatis做一个小小的项目: 代码写完,在运行项目时,IDEA给我报了3处错误: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'myController': Unsatisfied dependency expressed through field 'studentServiceImpl'; nested…
今天闲来无事,学习springboot整合mybatis,在bilibili看视频学的,视频中在dao层的interface上面加上org.apache.ibatis.annotations.Mapper注解就可以了,但是我一直报错.这个应该是springboot整合mybatis的一个bug(新版的) Description: Field userDao in com.yuanqiao.service.impl.UserServiceImpl required a bean of type '…