File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes loader constraints violated when linking org/w3c/dom/Document class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "loader constraints violated when linking org/w3c/dom/Document class" Watch "loader constraints violated when linking org/w3c/dom/Document class" New topic
Author

loader constraints violated when linking org/w3c/dom/Document class

alzamabar
Ranch Hand

Joined: Jul 24, 2002
Posts: 379
Hi, i'm trying to reproduce a testcase using HttpUnit to test a Struts application. I created a /lib directory under which i put the following files:
httpunit.jar
junit.jar
servlet.jar
struts.jar
xmlParserApis.jar
xercesImpl.jar
Of course, before to run the junit task in Ant, i set a classpath pointing to that /lib directory so that i've got a disposition all the required jars.
Any idea?


Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loader constraints violated when linking org/w3c/dom/Document class
 
Similar Threads
deploying a jsf application to tomcat
Re: Installation of J2EE SDK
unable to connect to mysql database from JSP
How Tomcat Works: connection pooling in tomcat
Problem in Struts : Error 404 : servlet action as unavailable