SSH integration errors

Source: Internet
Author: User
Tags jboss

Error 1:

Org. springframework. beans. factory. beandefinitionstoreexception: Unexpected exception parsing XML document from class path resource [Spring. XML]; Nested exception is Java. lang. noclassdeffounderror: ORG/aopalliance/intercept/methodinterceptor

Solution: aopalliance. Jar

The following is a description of the jar:

AOP Alliance (http://aopalliance.sourceforge.net/) is a joint open-source collaboration organization that works across multiple projects to provide a set of standard AOP Java interfaces ). Spring AOP is implemented based on the AOP Alliance standard API. If you want to use spring's AOP or any Feature Based on AOP, you only need this jar file.

Error 2:

Java. Lang. noclassdeffounderror: ORG/springframework/expression/propertyaccessor

Solution: Add spring-expression-3.2.9.RELEASE.jar

Error 3:

Nested exception is Java. Lang. noclassdeffounderror: ORG/aspectj/lang/annotation/around

Solution: Add aspectjweaver. Jar

Error 4:

Nested exception is Java. Lang. noclassdeffounderror: ORG/hibernate/Annotations/common/reflection/reflectionmanager

Solution: Add hibernate-commons-annotations-4.0.4.Final.jar

Error 5:

Nested exception is Java. Lang. noclassdeffounderror: ORG/JBoss/logging/basiclogger

Solution: After using hibernate4.0, The jboss-logging.GA.jar needs to be introduced

Error 6:

Nested exception is Java. Lang. noclassdeffounderror: javax/transaction/systemexception

Solution: Add jboss-transaction-api_1.2_spec-1.0.0.Final.jar

Error 7:

Nested exception is Java. Lang. noclassdeffounderror: javax/persistence/entity

Solution: Add ejb3-persistence.jar

Error 8:

Nested exception is Java. Lang. noclassdeffounderror: javax/persistence/namedstoredprocedurequery

Solution: Add hibernate-jpa-2.1-api-1.0.0.Final.jar

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.