报错
向架构师冲鸭
这个作者很懒,什么都没留下…
展开
-
was not registered for synchronization because synchronization is not active
报错如下:Creating a new SqlSession[org.apache.ibatis.session.defaults.DefaultSqlSession@4e872071] was not registered for synchronization because synchronization is not active再写树形菜单时,因为要根据父级id查询两边,报了事务关闭的错误controller层:mapper层:解决方法:在mapper层中的方法参数前加上注解@原创 2021-11-23 17:40:07 · 1043 阅读 · 0 评论 -
Could not autowire.No beans of ‘HmbCompanyDao‘ type found.
解决:如果还报错,可能导包错了等。原创 2021-11-22 15:22:55 · 291 阅读 · 0 评论 -
Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
Bebug运行SpringBoot项目启动报错:这个是因为端口8081被占用了啦原创 2021-11-18 14:40:39 · 164 阅读 · 0 评论 -
springBoot项目启动报: Error starting ApplicationContext.
报错的日志????Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.Disconnected from the target VM, address: ‘127.0.0.1:50861’, transport: ‘socket’ERROR com.alibaba.druid.pool.DruidDataSource - {d原创 2021-11-12 15:59:03 · 440 阅读 · 0 评论