[Anthill-pro] No Class Def Found Error
Varban
vvv at urbancode.com
Tue Oct 17 22:37:37 CDT 2006
Timoty,
it seems that ant starts executing your build script and then the build
task attempts to use the beanshell engine (look at line 53 in your build
script to see what exactly is being executed) and it fails because a
necessary jar is not available to the ant task. My guess is that the ant
task you are attempting to use requires the beanshell jars but since the
ant that ships with the anthillpro3 does not include it the build fails.
Regards,
Varban
Timothy Carnevale wrote:
> The problem with this was simply a missing .jar file, however I am no
> encountering a new error message:
>
> command line:
> C:\progsnew\anthill3\agent\opt\apache-ant-1.6.5\bin\ant.bat -buildfile
> build.xml
> command work dir:
> C:\progsnew\anthill3\agent\bin\..\..\autobuild\SA\third-party\osgi
> command environment:
> JAVA_HOME=C:\j2sdk1.4.2_10
> ANT_HOME=C:\progsnew\anthill3\agent\opt\apache-ant-1.6.5
> Buildfile: build.xml
>
> build:
>
> BUILD FAILED
> C:\progsnew\anthill3\autobuild\SA\third-party\osgi\build.xml:53:
> java.lang.ClassNotFoundException: bsh.util.BeanShellBSFEngine
>
> Total time: 1 second
> command exit code: 1
>
> Regards,
> Timothy Carnevale.
>
> -----Original Message-----
> From: Timothy Carnevale
> Sent: Wednesday, 18 October 2006 10:36 AM
> To: 'anthill-pro at lists.urbancode.com'
> Cc: 'Eric Minick'
> Subject: RE: [Anthill-pro] No Class Def Found Error
>
> Even when I attempt to change the dir where I run this script from, I
> still get the same error:
>
> Here is the log:
>
> command line:
> C:\progsnew\anthill3\agent\opt\apache-ant-1.6.5\bin\ant.bat -buildfile
> build.xml
> command work dir:
> C:\progsnew\anthill3\agent\bin\..\..\autobuild\SA\third-party\osgi
> command environment:
> JAVA_HOME=C:\j2sdk1.4.2_10
> ANT_HOME=C:\progsnew\anthill3\agent\opt\apache-ant-1.6.5
> Buildfile: build.xml
>
> build:
>
> BUILD FAILED
> java.lang.NoClassDefFoundError: org/apache/bsf/BSFException
>
> Total time: 1 second
> command exit code: 1
>
>
> Regards,
> Timothy Carnevale.
>
> -----Original Message-----
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Eric
> Minick
> Sent: Wednesday, 18 October 2006 12:40 AM
> To: anthill-pro at lists.urbancode.com
> Subject: Re: [Anthill-pro] No Class Def Found Error
>
> I'm not sure why you'd be getting that particular error, but it does
> look like you may have one too many '..' path elements which could be at
>
> the root of things.
>
> -- Eric
>
> Timothy Carnevale wrote:
>
>
>>One of my jobs seems to be failing, and I am encountering the
>>following error in my output, do you know what could possibly be the
>>problem with it?
>>
>>
>>
>>command line:
>>C:\progsnew\anthill3\agent\opt\apache-ant-1.6.5\bin\ant.bat -buildfile
>
>
>>build.xml
>>
>>command work dir:
>>
>
> C:\progsnew\anthill3\agent\bin\..\..\..\..\..\Autobuild\SA\third-party\o
> sgi
>
>>command environment:
>>
>> JAVA_HOME=C:\j2sdk1.4.2_10
>>
>> ANT_HOME=C:\progsnew\anthill3\agent\opt\apache-ant-1.6.5
>>
>>Buildfile: build.xml
>>
>>
>>
>>build:
>>
>>
>>
>>BUILD FAILED
>>
>>java.lang.NoClassDefFoundError: org/apache/bsf/BSFException
>>
>>
>>
>>Total time: 0 seconds
>>
>>command exit code: 1
>>
>>
>>
>>Timothy Carnevale
>>Intern Software Engineer
>>**Space Time Research Py Ltd***
>>**------------------------------------------------------**
>>*Email: timothy.carnevale at str.com.au
>>Ph: (03) 9805 -3400
>>
>>
>>
>>-----------------------------------------------------------------------
>
> -
>
>>_______________________________________________
>>Anthill-pro mailing list
>>Anthill-pro at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>
>>
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list