异常
浩扬丶
菜鸟一个
展开
-
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project sprin
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project spring-01-ioc1: Command execution failed.报错原创 2021-08-25 20:03:32 · 564 阅读 · 0 评论 -
An attempt was made to call the method javax.persistence.PersistenceContext.synchronization()
An attempt was made to call the method javax.persistence.PersistenceContext.synchronization()Ljavax/persistence/SynchronizationType; but it does not exist. Its class, javax.persistence.PersistenceContext, is available from the following locations:原创 2021-01-22 10:33:28 · 1008 阅读 · 0 评论 -
关于org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)解决办法
开始报这儿错一头雾水,在网上找了好多的解决方案都没有用!最后发现是配置要读取mapper.xml的地方写错了!原因:我Maven导包为MyBatis-Plus 读取mapper.xml却写的 mybatis.mapper-locations=classpath:mapping/*Mapper.xml 太粗心大意了解决方案:1.查看Maven是导的Mybatis 还是 Mybatis-plus2.如果是Mybatis 读取mapper.xml 应该为: mybatis.mapper-locati原创 2020-12-09 17:48:31 · 339 阅读 · 0 评论