• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

org.custommonkey.xmlunit.*;

 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to extend XMLTestCase like in the following:

public class XmlXsltTest extends XMLTestCase

And, I get an error under "XMLTestCase" stating that XMLTestCase cannot be resolved to a type.

I think because I have to write:

import org.custommonkey.xmlunit.*;

But, I also get an error under this import statement, stating that " import org.custommonkey.xmlunit.*;" cannot be resolved.

I included the "xmlunit-1.2.jar" file in the build path using Eclipse IDE?

So, why do you think I'm still getting such errors? Is my setting to XMLUnit right this way?

Thanks.

 
Abder-Rahman Ali
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I figured out the problem.

I added the JAR file for XMLUnit using Eclipse IDE, but figured out that by mistake I have removed that JAR file from the place I added it from, and now it works.

reply
    Bookmark Topic Watch Topic
  • New Topic