javaxmlstaxmate

i could not find org.codehaus.staxmate.dom package


I use netbeans 6.9 I want to use org.codehaus.staxmate.dom package but in does not exist. How can I add this package?


Solution

    1. Download the jar files from http://staxmate.codehaus.org/
    2. Open up Netbeans and add the jars that you fetched from 1
      • to add the jars, open up Tools -> Libraries and create a new class library. Finally, add this library to the project's "compile" tab under its libraries section
      • alternately you can simply right click the project -> properties and then add the jars under the "compile" tab under libraries

    Generally, make it point to look for the jar file names here : http://www.jarfinder.com/

    That will help you decide the jar file needed and where to download it from as well :)