Results 1 to 4 of 4
  1. #1
    Abder-Rahman is offline Member
    Join Date
    Oct 2008
    Posts
    32
    Rep Power
    0

    Default org.custommonkey.xmlunit.*

    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.

  2. #2
    Abder-Rahman is offline Member
    Join Date
    Oct 2008
    Posts
    32
    Rep Power
    0

    Default

    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.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    I'm glad that you figured out your problem. I hope though that in the future, if you cross-post a question on several sites, you place links in the posts to the other posts so that the volunteers helping you don't waste their time duplicating effort that's already been done. Best of luck.

  4. #4
    Abder-Rahman is offline Member
    Join Date
    Oct 2008
    Posts
    32
    Rep Power
    0

Similar Threads

  1. XMLUnit 1.1 Beta 2 (For Java)
    By levent in forum Java Software
    Replies: 1
    Last Post: 01-07-2012, 09:06 AM
  2. XMLUnit 1.1 (For Java)
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-29-2007, 01:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •