异常bug
文章平均质量分 60
后端wjw
编程萌新一个,加油!
展开
-
Caused by: org.apache.ibatis.ognl.OgnlException: source is null for getProperty(null, “beginTime”)
“Caused by: org.apache.ibatis.ognl.OgnlException: source is null for getProperty(null, “beginTime”)”原创 2023-08-20 21:50:02 · 2739 阅读 · 1 评论 -
Spring AOP中jdk动态代理异常:org.springframework.beans.factory.BeanNotOfRequiredTypeException
spring可以动态的选择是由jdk代理还是CGLIB代理,主要就是观察该类有没有实现接口,如果实现了接口会选择jdk的动态代理,所以这里使用的是jdk的动态代理,而我之前在写动态代理的时候写过,传入Proxy.newProxyInstance()方法中有一个是传的接口,jdk提供的需要被代理类实现接口,cglib不用,所以我们之前使用cglib时没有报错,在使用jdk时报错了。原创 2023-08-01 00:01:35 · 174 阅读 · 1 评论 -
Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactoryBean' defined in class path resource [bean-db.xml]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.BuilderE原创 2023-07-20 21:38:24 · 332 阅读 · 0 评论