Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Errors in Deploying

Errors in Deploying

2007-05-29       - By Ashwin E
Reply:     1     2  


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@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.