Some common exception resolution in SSH

Source: Internet
Author: User
Tags ssh
1.java.lang.noclassdeffounderror:org/aopalliance/intercept/methodinterceptor

FIX: Add Aopalliance.jar

2.java.lang.noclassdeffounderror:antlr/antlrexception

FIX: Add Antlr.jar

3.nested exception is Java.lang.noclassdeffounderror:org/objectweb/asm/type

FIX: Add Asm.jar

4.nested exception is java.lang.noclassdeffounderror:org/aspectj/weaver/reflect/ Reflectionworld¥reflectionworldexception

FIX: Add Aspectjweaver.jar

5.nested exception is Java.lang.noclassdeffounderror:net/sf/cglib/proxy/callbackfilter

FIX: Add Cglib.jar

6.nested exception is Java.lang.noclassdeffounderror:org/apache/commons/collections/sequencedhashmap

FIX: Add Commons-collections.jar

7.java.lang.noclassdeffounderror:org/dom4j/documentexception

FIX: Add Dom4j.jar

8.java.lang.noclassdeffounderror:javax/transaction/transactionmanager

FIX: Add Jta.jar

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.