Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic