ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slocum, Jim" <>
Subject [ejbc] java.lang.NoClassDefFoundError
Date Tue, 27 Feb 2001 13:37:35 GMT
I'm currently running ant1.3b3 on a Sun Server with OS version 5.8
I have a set of build scripts that I wrote which are constructing my session
beans for weblogic 6.0.
I've had no problems running these build scripts on my win2k machine, but
once I moved to the sun machine and ran the same build, my session beans
fail to be built. I'm not sure why I'm getting the error, since my entity
beans do the same basic thing and they are constructed fine.
My guess is it's a path problem with something in Ant, since all the paths
I'm entering seem to check out.
The error I'm getting looks like this :
    [ejbc] java.lang.NoClassDefFoundError
    [ejbc] Java Result: 1
The ejbjar task looks like the following: 
<ejbjar srcdir="${build}/EJB/"
        <weblogic destdir="${SessionDest}" newCMP="true"
            <pathelement location="${DomainLib}/mail.jar" />
            <pathelement location="${DomainLib}/activation.jar" />
            <pathelement path="/export/home/opt/bea/jdk130/lib/tools.jar" />
            <pathelement location="${ApplicationServerLib}/ejb20.jar" />
            <pathelement location="${ApplicationServerLib}/weblogic_sp.jar"
            <pathelement location="${ApplicationServerLib}/weblogic.jar" />
            <pathelement location="${DomainLib}/xerces.jar" />
            <pathelement location="${DomainLib}/xalan.jar" />
location="${CommonJarBuildLocation}/${CommonJarName}" />
            <pathelement location="${build}/DependantClasses" />
            <pathelement location="${DomainLib}/log4j.jar" />
        <include name="**/*.xml"/>
        <exclude name="**/weblogic*.xml"/>
Has anyone else got this?

View raw message