Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » M5: java.lang.NoClassDefFoundError when doing ANT stuff
M5: java.lang.NoClassDefFoundError when doing ANT stuff [message #196339] Mon, 21 February 2005 01:52 Go to next message
Eclipse UserFriend
Windows XPSP1

Unzipping SDK3.1M5a, using an existing workspace and java project, when
attempting to do an ANT build using an ANT builder, or attempting to open
a build.xml file with the ANT file editor, Eclipse crashes with the
following output in my .log file:

!SESSION 2005-02-20 23:09:02.843
-----------------------------------------------
eclipse.buildId=I20050219-1500
java.version=1.5.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -clean -data
C:\DOCUME~1\bhoylman\HOME\Eclipse\workspace3.1M5a -showlocation

!SESSION Sun Feb 20 23:10:35 MST 2005
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Feb 20, 2005 23:10:35.968
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NoClassDefFoundError
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)


This subsequently leaves an eclipse.exe and a javaw process orphaned as
well. I have tried a clean workspace with the project imported and the
same thing happens. This is NOT the case with build I20050202.

Ouch! Any comments welcome.

Peace.
Re: M5: java.lang.NoClassDefFoundError when doing ANT stuff [message #196347 is a reply to message #196339] Mon, 21 February 2005 02:01 Go to previous messageGo to next message
Eclipse UserFriend
This time I took a fresh M5a with NO workspace pre-existing. I imported a
small existing project that contained a build.xml file. Attempting to
open the file yielded this following log:

!SESSION 2005-02-20 23:57:10.250
-----------------------------------------------
eclipse.buildId=I20050219-1500
java.version=1.5.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -clean -data
C:\DOCUME~1\bhoylman\HOME\Eclipse\workspaceTEST -showlocation

!ENTRY org.eclipse.ui 4 4 2005-02-20 23:57:10.250
!MESSAGE Could not create action delegate for id:
org.eclipse.ui.edit.text.openExternalFile
!SESSION Sun Feb 20 23:57:10 MST 2005
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Feb 20, 2005 23:57:10.296
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NoClassDefFoundError
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)

Note this log mentions something about an action delegate, which is
something i didn't see in my earlier log posting. Thought it might be a
bit more information to ponder.

Thanks again.

Peace.
Re: M5: java.lang.NoClassDefFoundError when doing ANT stuff [message #196379 is a reply to message #196339] Mon, 21 February 2005 06:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: u.pollaehne12.web.de

Hi Bruce,

I found the same issue:
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=85942>

Ullrich.
Re: M5: java.lang.NoClassDefFoundError when doing ANT stuff [message #196434 is a reply to message #196379] Mon, 21 February 2005 12:27 Go to previous messageGo to next message
Eclipse UserFriend
I am having no luck using bugzilla this morning.

I believe you are specifying -Xverify:none when running Eclipse?

This is causing problems with the Ant security manager created for bug
60860. This appears to be a duplicate of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=85908

HTH
Darins

"Ullrich Pollaehne" <u.pollaehne12@web.de> wrote in message
news:cvcgqb$h95$1@www.eclipse.org...
> Hi Bruce,
>
> I found the same issue:
> <https://bugs.eclipse.org/bugs/show_bug.cgi?id=85942>
>
> Ullrich.
Re: M5: java.lang.NoClassDefFoundError when doing ANT stuff [message #196461 is a reply to message #196434] Tue, 22 February 2005 06:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: u.pollaehne12.web.de

Hi Darin,

Darin Swanson wrote:
> I am having no luck using bugzilla this morning.
>
> I believe you are specifying -Xverify:none when running Eclipse?

yeah, you got me. ;-)
After removing -Xverify:none ANT worked as expected.

Is there a chance to get a M5b?

Ullrich.
Re: M5: java.lang.NoClassDefFoundError when doing ANT stuff [message #196482 is a reply to message #196461] Tue, 22 February 2005 10:32 Go to previous message
Eclipse UserFriend
"Ullrich Pollaehne" <u.pollaehne12@web.de> wrote in message
news:cvf666$hqb$1@www.eclipse.org...
> Hi Darin,
>
> Darin Swanson wrote:
>> I am having no luck using bugzilla this morning.
>>
>> I believe you are specifying -Xverify:none when running Eclipse?
>
> yeah, you got me. ;-)
> After removing -Xverify:none ANT worked as expected.
>
> Is there a chance to get a M5b?
>
> Ullrich.

No this will not cause an M5b.
You options are:
to not specify -Xverify:none
to make use of the integration build that will come out today where the
problem is fixed
to patch the org.eclipse.ant.core plugin of M5a with the one that comes out
in the integration build of today.

HTH
Darins
Previous Topic:Is this a eclipseM5 bug?
Next Topic:Hyperlink style navigation to a runtime implemented method
Goto Forum:
  


Current Time: Mon Mar 10 18:11:40 EDT 2025

Powered by FUDForum. Page generated in 0.03822 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top