Categories

 

February 2012
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
272829  

What I'm Doing...

PlaytimePriya and KunalIMG00015.jpgIMG00017.jpgFallColors.jpgSpring

Eclipse and ANT build problem with jdk1.3

You can’t do an ANT build inside eclipse if your chosen jdk is 1.3. Here is a the error message you get…

BUILD FAILEDjava.lang.NoClassDefFoundError: org/xml/sax/SAXExceptionat org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.java:228)at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.parseBuildFile(InternalAntRunner.java:189)at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:400)at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

nice little trick to fix that…Inside Eclipse Go to Window->Preferences…->Ant->Runtime

In the classpath tab, add a new entry to the Ant Home Entries to the xerces jar file [...]

Share