- 14rahul
- Posts : 4
Join date : 2012-09-11
Running build.xml using CMD
Tue Jun 04, 2013 8:30 pm
Hello All,
When i m running build.xml using CMD.I got following error.
java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setSaveAggressiveNamespaces()Lorg/apache/xmlbeans/XmlOptions;
i m using latest xmlbean jar.
plz replay me.
When i m running build.xml using CMD.I got following error.
java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setSaveAggressiveNamespaces()Lorg/apache/xmlbeans/XmlOptions;
i m using latest xmlbean jar.
plz replay me.
Re: Running build.xml using CMD
Wed Jun 05, 2013 1:12 pm
what do you get when you do following from command prompt -
ant -version
also, are you able to use ant from IDE like eclipse/idea?
ant -version
also, are you able to use ant from IDE like eclipse/idea?
- mail2prassadAmateur
- Posts : 41
Join date : 2013-06-05
Re: Running build.xml using CMD
Wed Jun 05, 2013 10:17 pm
The jar file that contains the class org.apache.xmlbeans.XmlOptions.setSaveAggressiveNamespaces() is missing in the classpath.
Try adding xmlbeans.jar in the classpath and try again.
Try adding xmlbeans.jar in the classpath and try again.
Permissions in this forum:
You cannot reply to topics in this forum