< essay 05>ssh Project use MAVEN to manage JAR package dependencies, note the high and low problem of JAR package version!

Source: Internet
Author: User

Error Case:

When the framework jar package version used by the project is inconsistent, various errors may be reported, such as:

Spring-core uses 4.2.4-release version, while Hibernate-core may report when using 5.2.11.Final, transaction turn-On Error, Org.hibernate.Session.getFlushMode () Lorg/hibernate/flushmode and other errors!

Analysis Reason:

Because the spring version is less than Hibernate, the transaction that caused spring management does not work properly for hibernate frames

Solution:

  Replace the Spring-core package with the 5.0.0.RELEASE version and start using the project function normally!

< essay 05>ssh Project use MAVEN to manage JAR package dependencies, note the high and low problem of JAR package version!

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.