Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet and JAXP.

 
L Goundalkar
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have applet which uses jaxp-dom for processing XML on client side. For that I have imported the classes like..
import org.w3c.dom.* ;
import javax.xml.parsers.* ;
in my applet.I have jaxp.jar and crimson.jar in classpath of my system. MY JDK version is 1.3.1.
While compiling the applet,it compiled fine.
But when I open the HTMl having my applet, it gives following error in the java plug-in console.
ClassDefFoundError: javax/xml/parsers/DocumentBuilderFactory

Is it because JAXP classes are compiled in 1.4 later version and my plug-in is 1.3.1 ??
Thanks for the time.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!