- 博客(50)
- 收藏
- 关注
原创 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
658
原创 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
1090
原创 Java中多态讲解
1.多态的概述多态概述:在同一时刻体现出事物的不同状态 (如:水(气态、固态、液态))在面向对象Java语言中、多态的前提条件: 1)必须有继承关系,如果没有继承关系,无意义 2)必须有方法重写,在继承关系中,父类比较抽象(动物类), 动物类 eat(){...} 子类: 狗类, eat("狗吃骨头!!"){} 猫类 eat("猫吃鱼!!"){} 3)必须父类引用指向子类对象(向上转型) ; 格式:
2020-12-22 18:04:44
166
原创 关于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
396
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人