You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/05/06 11:10:36 UTC
DO NOT REPLY [Bug 34773] New: -
[wsejbdeploy] java.lang.NoClassDefFoundError: com/ibm/etools/ejbdeploy/EJBDeploy
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34773
Summary: [wsejbdeploy] java.lang.NoClassDefFoundError:
com/ibm/etools/ejbdeploy/EJBDeploy
Product: Ant
Version: 1.6.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P1
Component: Build Process
AssignedTo: dev@ant.apache.org
ReportedBy: pratikl@quinnox.com
CC: pratikl@quinnox.com
Following is an exerpt of my script
<path id="ejbdeploy.classpath">
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\runtimes\base_v5\lib\deployutils.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\runtimes\base_v5\lib\wsanttasks.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\runtimes\base_v5
\java\jre\lib\ext\ibmorb.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\bin\batch.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1
\wstools\eclipse\plugins\com.ibm.etools.ejbdeploy_5.1.0\runtime\codegen.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1
\wstools\eclipse\plugins\com.ibm.etools.ejbdeploy_5.1.0\runtime\ejbdeploy.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1
\wstools\eclipse\plugins\com.ibm.etools.ejbdeploy_5.1.0
\runtime\ejbincrement.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1
\wstools\eclipse\plugins\com.ibm.etools.ejbdeploy_5.1.0
\runtime\ejbvalidator.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1
\wstools\eclipse\plugins\com.ibm.etools.ejbdeploy_5.1.0\runtime\exec.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1
\wstools\eclipse\plugins\com.ibm.etools.ejbdeploy_5.1.0\runtime\rmic.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\eclipse\plugins\org.eclipse.core.boot_2.1.1
\boot.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1\runtimes\base_v5\lib\ivjejb35.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1\runtimes\base_v5\lib\j2ee.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1\runtimes\base_v5\lib\vaprt.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1\runtimes\base_v5\lib\xerces.jar"/>
<pathelement location="D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\eclipse\plugins\org.eclipse.core.runtime_2.1.1
\runtime.jar"/>
</path>
<target name="ejbdeploy" >
<taskdef name="WsEjbDeploy" classname="com.ibm.websphere.ant.tasks.WsEjbDeploy"
classpath="${WAS_HOME}\runtimes\base_v5\lib\wsanttasks.jar" />
<WsEjbDeploy inputJar="${srcDir}\strideEJB\ejbDeployTemp.jar"
IgnoreErrors="true"
wasHome="${WAS_HOME}\runtimes\base_v5"
outputJar="${backupDir}\StrideEJB1.jar"
classpathref="ejbdeploy.classpath"
trace="true"
codegen="true"
rmicOptions="-verbose"
/>
</target>
On executing this build i get the following error....
Buildfile: build.xml
ejbdeploy:
[wsejbdeploy] java.lang.NoClassDefFoundError: com/ibm/etools/ejbdeploy/EJBDeploy
[wsejbdeploy] Exception in thread "main"
[wsejbdeploy] Java Result: 1
BUILD SUCCESSFUL
Total time: 2 seconds
I have tried everything from unzipping the jars...to setting the classpaths
explicitly in the environment variables for the jars listed, to putting the
jars in the ANT\lib folder..
Also note that I am using WSAD 5.1 and ANT 1.6.2 and JDK 1.3(The one supplied
with WSAD).
This is very urgent...
Are there any morejars that i need....? If yes please list them
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org