9.org.springframework.aop.framework.aopconfigexception:cannot proxy target class because CGLIB2 is not available
FIX: Add Com.springsource.net.sf.cglib.jar
@onetoone or @manytoone on Amodel references an unknown entity Bmodel
FIX: Add <mapping class= "Bmodel"/> in Hibernate.cfg.xml
11.java.lang.nosuchmethoderror:javax.persistence.onetomany.orp Hanremoval () Z
Resolution: (1) participate in the jpa2.0 jar package in HIBERNATELIBJPA
(2) Setting the JDK of the JRE System Library to 1.6 or more versions
(3) Remove the Ejb3-persistence
Attention:
Hibernate-jpa-2.0-api-1.0.0.final and Ejb3-persistence conflict, if the level to Hibernate3.5 so you can remove the Ejb3-persistence
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.