Share
Go down
14rahul
Posts : 4
Join date : 2012-09-11

Running build.xml using CMD

on 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;Sad

i m using latest xmlbean jar.

plz replay me.
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: Running build.xml using CMD

on 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?

_________________
Thanks
Tarun K
Free Selenium Training
mail2prassad
Amateur
Amateur
Posts : 41
Join date : 2013-06-05

Re: Running build.xml using CMD

on 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.
Sponsored content

Re: Running build.xml using CMD

Back to top
Permissions in this forum:
You cannot reply to topics in this forum