Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3305714
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:12:08+00:00 2026-05-17T21:12:08+00:00

I am using Jboss5 and I’m trying to utilize Hibernate and Spring to load

  • 0

I am using Jboss5 and I’m trying to utilize Hibernate and Spring to load in a spring dao. I’m getting an exception which seems to point to an incompatibility in jars but I’m not quite sure what is going on. I’ve done quite a bit of searching and I can’t seem to find something specific to this besides change JBOSS versions. I am wanting to know if anyone has had any similar issues or found a way to get around this. Should I not be including the spring and hibernate jars in my ear?

Unexpected exception parsing XML
document from class path resource
[applicationContext.xml]; nested
exception is java.lang.LinkageError:
loader constraint violation: when
resolving method
“javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)V”
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader)
of the current class,
org/springframework/beans/factory/xml/DefaultDocumentLoader,
and the class loader (instance of
) for resolved class,
javax/xml/parsers/DocumentBuilder,
have different Class objects for the
type org/xml/sax/EntityResolver used
in the signature

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:12:09+00:00Added an answer on May 17, 2026 at 9:12 pm

    You probably have a copy of one of the XML API JARs in your WAR or EAR, like Xerces, xml-apis, or something like that. This will clash (violently) with JBoss’s own.

    Make sure your WAR/EAR has none of its own copies of the javax.xml libraries in its lib directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement stateless session bean ejb3 in jboss5 using netbeans6.8 as a
I am using Jboss5.1, Tomcat 6, Ejb3.0 I was trying to do simple Ejb
I am using Jboss5.1.x , EJB3.0 I am trying to configure Quartz. I get
I am using JBoss5.1.x AS, EJB3.0. I am trying to add a job (using
We are using JBoss 4.2.3 which in turn comes with version 3.2.1.ga of Hibernate.
I'm using a Jboss5/Spring/Struts implementation, and I'm not familiar enough with JSP technology to
I'm using JBoss AS 7.1 and Hibernate in Eclipse 3.7.2 to build a Dynamic
We are using JBoss 4.2. We would like to customize the session id which
I'm using JBoss 7.1.1 and servlet-api 2.5. I have to shutdown some objects which
I am using Jboss and Netbeans to create Spring MVC web application on windows.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.