aspose file tools*
The moose likes XML and Related Technologies and the fly likes How to solve j2sdk1.4.1_01 xml library conflict problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to solve j2sdk1.4.1_01 xml library conflict problem?" Watch "How to solve j2sdk1.4.1_01 xml library conflict problem?" New topic
Author

How to solve j2sdk1.4.1_01 xml library conflict problem?

Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
j2sdk1.4.1_01 rt.jar included some xerces/xalan parser to use. However, if I want to use the latest version of xalan, and put it in classpath, then I got a LoaderError:
"XSLT Error (java.lang.LinkageError): loader constraints violated when linking org/xml/sax/InputSource class"
Does anyone know how to solve the problem? Obviously, we cannot get rid of rt.jar. It seems pretty stupid to bundle them together to me.
Any help will be appreciated very much.
Dave Morris
Greenhorn

Joined: Jan 26, 1999
Posts: 3
may be a stupid question from me, why u want to use jdk1.4.1_01 instead of jdk1.3.1 or jdk1.4.0 ?
with jdk1.4.0 i can able to use latest version of xalan.jar
rgds
balaji
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to solve j2sdk1.4.1_01 xml library conflict problem?
 
Similar Threads
Using Xalan in Java
new to j2ee1.4
displaying XML formatted by XSL in JSP
XALAN Imports
JDK1.3 vs JDK1.4