[jdom-interest] jdom & Jbuilder

John Muhlestein jmuhlestein at i-link.net
Wed Apr 17 09:51:10 PDT 2002


If you are using a version > 5 JBuilder included versions of JAXP, JDOM and
Xerces (among other things) with the distribution in the %JBUIDLER_HOME/lib
directory.  These versions are all old and will cause problems trying to
execute in JBuilder.  Remove the .jar's and correlating .library files and
you should be fine.
 
John

-----Original Message-----
From: Brian Wolf [mailto:brianw at knowledgextensions.com]
Sent: Tuesday, April 16, 2002 5:22 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] jdom & Jbuilder


 
hi all,
 
this line compiles fine outside of Jbuilder, 

XMLReader parser =
javax.xml.parsers.SAXParserFactory.newInstance().newSAXParser().getXMLReader
();
 
but in Jbuilder, I get this error:
 
"topicform.java": Error #: 300 : method getXMLReader() not found in class
javax.xml.parsers.SAXParser at line 95, column 84
 
these are my includes:
 
import org.jdom.Attribute;
import org.jdom.Comment;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.Text;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.jdom.output.XMLOutputter;
 
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
 
import org.jaxen.jdom.XPath;
 
import org.saxpath.SAXPathException;
import org.saxpath.XPathSyntaxException;
 
import net.sourceforge.streamdom.*;
 
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.w3c.dom.*;
import java.util.*;


 
thanks, Brian




More information about the jdom-interest mailing list