ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Callaghan, Tom" <TomCallag...@roberthalf.co.uk>
Subject NoClassDefFoundError
Date Tue, 15 Jan 2002 16:34:21 GMT
Hi,

Can anyone help?

I`m writing a script to compile an EJB and then generate deployment
descriptors.  But, when I I try to create the deployment descriptor I run
into a brick wall again and again, etc...

When specifying the arg value as '.', as shown below: -

    <target name="EJBDESC" depends="JAVAC">
       <java classname="weblogic.ant.taskdefs.ejb20.DDInit" 
             classpath="${weblogic}">         
            <arg value="."/>
       </java>
    </target> 

I get all this strange output: -

EJBDESC:
Loading classes
beans.beans.properties
beans.TimerBean.jar
bin..runide_defaults.sh
bin.fastjavac.fastjavac.exe
bin.fastjavac.fastjavac.linux
bin.fastjavac.fastjavac.sun
bin.fastjavac.fastjavac.sun.intel
bin.icons.ide2.ico
bin.icons.nbide.ico
bin.icons.nbweb.ico
bin.icons.readme.ico
bin.ide.cfg
bin.ide.policy
bin.openfile.bat
bin.rmid.policy
bin.rmid_wrapper.exe
bin.runide.exe
bin.runideopenvms.com
bin.runidew.exe
bin.unsupported.add2path.bat
bin.unsupported.nbscript.bat
bin.unsupported.runide_nt.bat
bin.unsupported.runide_w98.bat
build_info
CHANGES.html
CREDITS.html
docs.ant-api.zip
docs.NetBeansWeb.html
lib.core.jar
lib.ext.crimson.jar
lib.ext.jh.jar
lib.ext.regexp.jar
lib.ext.rmi-ext.jar
lib.ext.terminalemulator.jar
lib.ext.xerces.jar
lib.ide.ks
lib.openide.jar
lib.patches.openide-compat.jar
lib.updater.jar
log.txt
META-INF.ejb-jar.xml
META-INF.weblogic-ejb-jar.xml
modules.ant.jar
modules.apisupport-lite.jar
modules.applet.jar
modules.autoload.classfile.jar
modules.autoload.debuggerCore.jar
modules.autoload.j2eeserver.jar
modules.autoload.openidex.jar
modules.autoload.servletapi.jar
modules.autoload.vcscore.jar
modules.autoupdate.jar
modules.beans.jar
modules.bin.extbrowser.dll
modules.clazz.jar
modules.cvscompat.jar
modules.docs.ant-manual.zip
modules.docs.usersguide.jar
modules.editor.jar
modules.ext.AbsoluteLayout.jar
modules.ext.ant-1.4.1.jar
modules.ext.ant-optional-1.4.1.jar
modules.ext.bsh-1.01.jar
modules.ext.cvslib.jar
modules.ext.djava.jar
modules.ext.jasper.jar
modules.ext.java-gj.jar
modules.ext.javac.jar
modules.ext.jython.jar
modules.ext.nb-editor.jar
modules.ext.servlet-2.2.jar
modules.ext.webserver.jar
modules.extbrowser.jar
modules.form.jar
modules.html.jar
modules.httpserver.jar
modules.i18n-form.jar
modules.i18n.jar
modules.image.jar
modules.jarpackager.jar
modules.java.jar
modules.javacvs.jar
modules.javadoc.jar
modules.jndi.jar
modules.jpdaDebugger.jar
modules.jsp-syntax.jar
modules.jsp-tomcat.jar
modules.jsp.jar
modules.patches.org-apache-tools-ant-module.README.txt
modules.projects.jar
modules.properties-syntax.jar
modules.properties.jar
modules.rmi.jar
modules.scripting.jar
modules.text.jar
modules.toolsDebugger.jar
modules.usersguide.jar
modules.utilities.jar
modules.vcsgen.jar
mousewheel-1.2.nbm
netbeans.css
README.html
sources.org.netbeans.examples.lib.timerbean.timer.gif
sources.org.netbeans.examples.lib.timerbean.Timer.java
sources.org.netbeans.examples.lib.timerbean.TimerBeanInfo.java
sources.org.netbeans.examples.lib.timerbean.TimerListener.java
sources.org.netbeans.lib.awtextra.AbsoluteConstraints.java
sources.org.netbeans.lib.awtextra.AbsoluteLayout.java
sources.readme.txt
system.ide.log
system.install.log
system.Modules.org-apache-tools-ant-module.xml
system.Modules.org-netbeans-modules-apisupport-lite.xml
system.Modules.org-netbeans-modules-applet.xml
system.Modules.org-netbeans-modules-autoupdate.xml
system.Modules.org-netbeans-modules-beans.xml
system.Modules.org-netbeans-modules-classfile.xml
system.Modules.org-netbeans-modules-clazz.xml
system.Modules.org-netbeans-modules-cvsclient.xml
system.Modules.org-netbeans-modules-debugger-core.xml
system.Modules.org-netbeans-modules-debugger-debug.xml
system.Modules.org-netbeans-modules-debugger-jpda.xml
system.Modules.org-netbeans-modules-editor.xml
system.Modules.org-netbeans-modules-extbrowser.xml
system.Modules.org-netbeans-modules-form.xml
system.Modules.org-netbeans-modules-html.xml
system.Modules.org-netbeans-modules-httpserver.xml
system.Modules.org-netbeans-modules-i18n-form.xml
system.Modules.org-netbeans-modules-i18n.xml
system.Modules.org-netbeans-modules-image.xml
system.Modules.org-netbeans-modules-j2eeserver.xml
system.Modules.org-netbeans-modules-jarpackager.xml
system.Modules.org-netbeans-modules-java.xml
system.Modules.org-netbeans-modules-javadoc.xml
system.Modules.org-netbeans-modules-jndi.xml
system.Modules.org-netbeans-modules-projects.xml
system.Modules.org-netbeans-modules-properties-syntax.xml
system.Modules.org-netbeans-modules-properties.xml
system.Modules.org-netbeans-modules-rmi.xml
system.Modules.org-netbeans-modules-scripting.xml
system.Modules.org-netbeans-modules-servletapi.xml
system.Modules.org-netbeans-modules-text.xml
system.Modules.org-netbeans-modules-usersguide.xml
system.Modules.org-netbeans-modules-utilities.xml
system.Modules.org-netbeans-modules-vcs-advanced.xml
system.Modules.org-netbeans-modules-vcs-cmdline-compat.xml
system.Modules.org-netbeans-modules-vcscore.xml
system.Modules.org-netbeans-modules-web-core-syntax.xml
system.Modules.org-netbeans-modules-web-core.xml
system.Modules.org-netbeans-modules-web-tomcat.xml
system.Modules.org-openidex-util.xml
system.ParserDB.ant141.jcb
system.ParserDB.ant141.jcs
system.ParserDB.jdk13.jcb
system.ParserDB.jdk13.jcs
system.ParserDB.servlet22.jcb
system.ParserDB.servlet22.jcs
update_tracking.xml
Creating descriptors

But no descriptors are created in META-INF/

But, when I try to specify the correct root for the agrument as shown below:
-

    <target name="EJBDESC" depends="JAVAC">
       <java classname="weblogic.ant.taskdefs.ejb20.DDInit" 
             classpath="${weblogic}">         
            <arg value="${packageroot}"/>
       </java>
    </target>  

I get: -

EJBDESC:
Loading classes
manifest.mf
build.xml [35] java.lang.NoClassDefFoundError: javax/ejb/EJBObject
BUILD FAILED

I`m totally at a lost as to why I get this error.  Does anyone know why this
is happening?

Cheers,
Tom

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


Mime
View raw message