ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Errors in Deploying
Date Wed, 30 May 2007 17:20:26 GMT
Java.lang.NoClassDefFoundError indicates that the required class for the
task is not found. There is probably a jar file with the weblogic ant
tasks that needs to be put into $ANT_HOME/lib.

-Rob Anderson

> -----Original Message-----
> From: Ashwin E [mailto:ashwin.eapen@ge.com] 
> Sent: Tuesday, May 29, 2007 3:00 AM
> To: user@ant.apache.org
> Subject: Errors in Deploying
> 
> 
> deploy:
> [serverdeploy] java.lang.NoClassDefFoundError: 
> weblogic/deploy [serverdeploy] Exception in thread "main" 
> 
> BUILD FAILED
> E:\DIR_STRCUT\build.xml:43: Java returned: 1
> 
> Total time: 7 seconds
> 
> 
> My Build.xml is this
> 
> target name="deploy" depends="task2">
>  <serverdeploy action="deploy" source="${destdir}/${ENVIRONMENT}.ear">
>  <weblogic application="ABC"
>  server="t3:Server Url"
>  classpath="?"//I've a doubt here.why I'm specifying the classpath?
>  username="username"
>  password="password"
>  debug="true"/>
>  </serverdeploy>
> </target>
> </project>
> 
> I'm basically deploying an ear applicaiton on a weblogic 
> server...I'm getting the Above error and also where do i 
> specify the folder into which i want to deploy this application.
> 
> Are there any other methods to deploy Applications???
> --
> View this message in context: 
> http://www.nabble.com/Errors-in-Deploying-tf3832855.html#a10851094
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message