Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXP configuration Problem  RSS feed

 
suneel kanth
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Its plessure to introduce my self to this group.I was recently started working with XML.Basically Iam a java programmer.I would like to work XML using java.
I downloaded JAXP parser .I set the classpath.
Iam just try to run the example program,Its giving the following error....Pls help me to find the error...
C:\Start\sk\XMLConcepts\sk_coding\fromnet> java Echo01 Setup.xml
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.crimson.jaxp.SAXParserFactoryImpl not found
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at Echo01.main(Echo01.java:53)
-----------Waiting for the ans...pls

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like it can't find a JAR file, where did you put the JAR files? Which SDK version are you using?
Bill
 
suneel kanth
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for you reply williams,
I kept all in ./dist directory and I set the classpath for all jarfiles(dom.jar,jaxp-api.jar,sax.jar,xalan.jar,serceslmpl.jar,xsltc.jar
)let me know If i did any mistake..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!