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

  • Home
  • SEARCH
  • 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 using JBoss Seam Framework, but it's seems to me isn't very popular among
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
I am using UrlRewrite in a JSP project over JBoss . I have configured
I want to monitor my application running inside JBoss version 3.2.5 using JVisualVM. I
Using online interfaces to a version control system is a nice way to have
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button

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.