LZ Integration Today spring-framework-3.2.4.release synthesis hibernate-release-4.3.5.final An error caused by: Java.lang.NoClassDefFound
Caused By:java.lang.noclassdeffounderror:org/hibernate/service/jta/platform/spi/jtaplatform.
Finally, from a foreign article to find a solution: the original address such as the following : Click to open Link
The reasons are:
In hibernate4.3.x, the Org.hibernate.service.jta.platform.spi.JtaPlatform class was replaced by:
Org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform;
The original solution is that:
Solution
Since Hibernate 4.3.x, the JtaPlatform
class is refactored to a new package. To Fix it, downgrade Hibernate to 4.2.x or older, or upgrade the Spring framework.
The translation comes to be, the solution way:
Hibernate with 4.2.X and below version number or spring with version 4.0 and above
After upgrading, spring4.0.3,hibernate4.3.5, resolve.
The landlord Pro-test available.
Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.
Spring-framework-3.2.4.release synthesis hibernate-release-4.3.5.final An error caused by:java.lang.NoClassDefFound