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:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to