J2se/ssh structure inexplicable error collection-continuous update

Source: Internet
Author: User

1. The conflict between ASM. jar in hibernate 7.5 core and asm2.1.3.jar in spring 3.2 AOP makes it impossible to load the HBM. xml file. The error is:

Org. springframework. beans. factory. beancreationexception: Error creating bean with name 'sessionfactory 'defined in servletcontext resource [/WEB-INF/classes/applicationcontext. XML]: instantiation of bean failed; Nested exception is Org. springframework. beans. beaninstantiationexception: cocould not instantiate Bean class [Org. springframework. orm. hibernate3.localsessionfactorybean]: constructor threw exception; Nested exception is Java. lang. noclassdeffounderror: Org. hibernate. cfg. configuration
At org. springframework. Beans. Factory. Support. abstractautowirecapablebeanfactory. instantiatebean (abstractautowirecapablebeanfactory. Java: 883)

2. myeclipse 7.5 comes with hibernate 3.2 core in the commons-collections-2.1.1.jar version than spring2.5 in the required version is low, download commons-collections.jar 3.1 replacement can be, reflect the dislocation information:

Error creating bean with name 'velocityreceiver' defined in servletcontext resource [/WEB-INF/applicationcontext. XML]: Invocation of init method failed; Nested exception is Java. lang. noclassdeffounderror: ORG/Apache/commons/collections/MAP/lrumap

3. Conflicts between jdk1.5 and tomcat5.0 regarding the transformerfactoryimpl class. DownloadXalan jar packageReplace xercesimpl. jar and xml-apis.jar under <tomcat-Home> \ common \ endorsed to reflect the error message:

Exception starting filter struts2
Javax. xml. Transform. transformerfactoryconfigurationerror: provider org. Apache. xalan. processor. transformerfactoryimpl not found

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.