Get your CodeRanch badge!*
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 Java 8 in Action this week in the Java 8 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
 
 
subject: loader constraints violated when linking org/w3c/dom/Document class
 
Similar Threads
Re: Installation of J2EE SDK
Problem in Struts : Error 404 : servlet action as unavailable
unable to connect to mysql database from JSP
deploying a jsf application to tomcat
How Tomcat Works: connection pooling in tomcat