Solved

Issue with SAXParserFactory

Posted on 2013-12-14
4
291 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

685 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