随笔分类 -  异常总结

摘要:<!–声明事务–> <bean id=”txManager”> <property name=”sessionFactory” ref=”sessionFactory” /> </bean> <!– 创建通知–> <tx:advice id=”txAdvice” transaction-manage 阅读全文
posted @ 2020-12-28 23:28 从来没有平凡的时刻 阅读(225) 评论(0) 推荐(0)
摘要:1.Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.lhh.myspringboot.service.AdminService' a 阅读全文
posted @ 2020-08-04 20:14 从来没有平凡的时刻 阅读(2611) 评论(0) 推荐(1)
摘要:1.org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问题 即在mybatis中dao接口与mapper配置文件在做映射绑定的时候出现问题,简单说,就是接口与xml要么是找不到,要么是找到了却 阅读全文
posted @ 2020-08-03 22:30 从来没有平凡的时刻 阅读(289) 评论(0) 推荐(0)
摘要:启动springboot,报错 ***************************APPLICATION FAILED TO START*************************** Description: An attempt was made to call a method th 阅读全文
posted @ 2020-08-02 16:51 从来没有平凡的时刻 阅读(10587) 评论(0) 推荐(0)
摘要:1.org.springframework.web.client.UnknownContentTypeException: Could not extract response: no suitable HttpMessageConverter found for response type [cl 阅读全文
posted @ 2020-07-27 17:19 从来没有平凡的时刻 阅读(6996) 评论(1) 推荐(0)
摘要:Mybatis查询sql传入一个字符串传参数,报There is no getter for property named 'ids' in 'class java.lang.String'。 解决方法: 1.在接口参数里加上mybatis中的@param注解 @MyBatisDao public 阅读全文
posted @ 2020-07-10 13:57 从来没有平凡的时刻 阅读(401) 评论(0) 推荐(0)
摘要:启动tomcat服务失败: 异常信息:Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099 百度了一下,大多这样说:int 阅读全文
posted @ 2020-06-23 09:09 从来没有平凡的时刻 阅读(5106) 评论(0) 推荐(0)
摘要:1、问题描述 创建springcloud 项目时候,main报错: Spring Boot Application in default package less… (Ctrl+F1)Inspection info: Checks Spring Boot Application Setup.@Spr 阅读全文
posted @ 2019-12-23 15:21 从来没有平凡的时刻 阅读(1250) 评论(0) 推荐(0)
摘要:1.resultType和resultMap写错时,启动时就会报错 原因: 2.The error occurred while handling results ### SQL: select USER_ID from user_dept where COMP_ID=? ### Cause: ja 阅读全文
posted @ 2019-12-19 15:14 从来没有平凡的时刻 阅读(3197) 评论(0) 推荐(1)
摘要:1.registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the J 阅读全文
posted @ 2019-12-03 20:30 从来没有平凡的时刻 阅读(445) 评论(0) 推荐(0)