• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SAX classes not found

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I use jdk1.3 ,weblogic 6,Eclipse for my EJBs. when I try to run my ANT script it gives following error:

Buildfile: C:\prehireejbapp\build.xml
BUILD FAILED: Unable to load default ProjectHelper due to java.lang.NoClassDefFoundError: org/xml/sax/SAXException

As you can see , it's not finding xerces.jar (bunch of SAX classes) , I provided with right links to xerces.jar,xercesImpl.jar.

I created a file called "build_ajc.properties" from where "build.xml" can read the variables. These variables are paths for jars ,i.e xerces.jar.

I have no idea why it's not detecting these jars ....Could anybody please comment ?
thanks
-Anand.
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like you're using ant 1.6.x.

If you google with your error you'll find suggestions like this

Installing ant from ant manual: You can then either put the jars from your preferred parser into Ant's lib directory or put the jars on the system classpath.

Ant needs the information sooner than you are providing it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic