Solved

Issue with SAXParserFactory

Posted on 2013-12-14
4
286 Views
Last Modified: 2013-12-24
Hi,

I have an web application.

when I deploy my web application in JBoss 6  in linux box  I  get  deployment error.  ....

it seems some issue with SAXParserFactory as per the log .



I am attaching the boot log file which has detailed error stack trace .

I am  also attaching the list of  JAR files from my web application's WEB-INF\ lib folder


Could you please tell  what has gone wrong and how do I fix it ?
error.txt
lib-list.txt
0
Comment
Question by:cofactor
  • 3
4 Comments
 

Author Comment

by:cofactor
ID: 39718864
comments please
0
 
LVL 20

Accepted Solution

by:
chaitu chaitu earned 300 total points
ID: 39720824
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory

there is conflict of jars between apache SAXParser classes vs sun related jars.try removing apache related jars  which is having this class.
0
 

Assisted Solution

by:cofactor
cofactor earned 0 total points
ID: 39728955
I removed javax related classes and this worked fine.
0
 

Author Closing Comment

by:cofactor
ID: 39737603
I had javax classes which were causing issues.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
nestparen challenge 4 57
topping2 challenge 13 61
JDeveloper 12c for 32 bit 4 35
Java JRE greater than 1.6 5 24
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now