Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Problem with Eclipse 2.1 and JDK 1.4.1_02
Problem with Eclipse 2.1 and JDK 1.4.1_02 [message #12399] Fri, 02 May 2003 19:15 Go to next message
Eclipse UserFriend
Originally posted by: mb.nose.demon.nl

Hi there,

I installed the new Eclipse 2.1 with Lomboz 2.1 and EASIE for JBoss (1.2.0).
I have JDK 1.4.1_02 installed and made all the configurations as noticed in
the appropriate docs. When I try to start the JBoss server I get the
following error:

"Error occured during initialization of VM
java/lang/NoClassDefinitionFoundError: java/lang/Object"

I also tried with JDK 1.4.0_01 but with the same error.
The error is quite obvious but does anyone know what causes this?

Regards,

Michiel.
Re: Problem with Eclipse 2.1 and JDK 1.4.1_02 [message #12418 is a reply to message #12399] Fri, 02 May 2003 21:29 Go to previous messageGo to next message
Doug Spelce is currently offline Doug SpelceFriend
Messages: 5
Registered: July 2009
Junior Member
Michiel,

I got a similar NoClassDefFoundError exception today when installing
Eclipse 2.1 with Sun's JRE 1.4.1_02 on my W2K box. The only additional
plugin was the one my company is developing (contributes a perspective
and a new editor). However, everything has worked fine for awhile on
JRE 1.4.0_02. Here's the contents of the .log file:

Doug

---------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 May 02, 2003 15:21:01.881
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException:
java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError: javax/xml/transform/Source
at java.lang.Class.getConstructor0(Native Method)
at java.lang.Class.getConstructor(Class.java:922)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:701)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:188)
at
org.eclipse.core.internal.plugins.PluginClassLoader.activate Plugin(PluginClassLoader.java:112)
at
org.eclipse.core.internal.plugins.PluginClassLoader.internal FindClassParentsSelf(PluginClassLoader.java:185)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassParentsSelf(DelegatingURLClassLoader.java:485)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java:882)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension(PluginDescriptor.java:130)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension(PluginDescriptor.java:167)
at
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExtension(ConfigurationElement.java:103)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:155)
at
org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(PerspectiveDescriptor.java:98)
at
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:653)
at
org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:278)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:177)
at
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:965)
at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:1692)
at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:369)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:413)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindo w.java:1188)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWi ndow.java:1185)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1074)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:874)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
---------------------------------------------

Michiel Bakker wrote:
> Hi there,
>
> I installed the new Eclipse 2.1 with Lomboz 2.1 and EASIE for JBoss (1.2.0).
> I have JDK 1.4.1_02 installed and made all the configurations as noticed in
> the appropriate docs. When I try to start the JBoss server I get the
> following error:
>
> "Error occured during initialization of VM
> java/lang/NoClassDefinitionFoundError: java/lang/Object"
>
> I also tried with JDK 1.4.0_01 but with the same error.
> The error is quite obvious but does anyone know what causes this?
>
> Regards,
>
> Michiel.
>
>
>
>
>
Re: Problem with Eclipse 2.1 and JDK 1.4.1_02 [message #12428 is a reply to message #12399] Fri, 02 May 2003 23:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: greg.ferguson.americawest.com

Michiel Bakker wrote:

> Hi there,

> I installed the new Eclipse 2.1 with Lomboz 2.1 and EASIE for JBoss (1.2.0).
> I have JDK 1.4.1_02 installed and made all the configurations as noticed in
> the appropriate docs. When I try to start the JBoss server I get the
> following error:

> "Error occured during initialization of VM
> java/lang/NoClassDefinitionFoundError: java/lang/Object"

> I also tried with JDK 1.4.0_01 but with the same error.
> The error is quite obvious but does anyone know what causes this?

I see the same problem when I create .jar files. What I noticed is that my
project properties shows all my external .zips and .jars in the Libraries
pane, and they're all selected in the "Order and Export" pane. But, when I
go to export the jar file, my Oracle JDBC jar file is not in the "lib"
list, even though all the others are.

If I export the jar the size is too small, and I also get the NoClassDef
... error when trying to launch the jar.

Eclipse on my Win2K and Solaris host are both current and both started
having the problem after I upgraded. JDeveloper on both systems compiles
and creates the jar correctly, which then runs without error. (All source
and .zip and .jars in my library are the same as they've been pulled in
from my CVS repository just before compiling.)

Various combinations of reloading Eclipse and checking out the project
don't make a difference.

Greg
Re: Problem with Eclipse 2.1 and JDK 1.4.1_02 [message #12438 is a reply to message #12418] Sat, 03 May 2003 09:50 Go to previous message
Eclipse UserFriend
Originally posted by: mb.nose.demon.nl

When I open a project I created in the proir version of Eclipse I can
compile and run the server. Then, when I open a project created in 2.1 the
server suddenly runs too.
Try to do the same as I did. It might help, although I several error from my
server (JBoss). 'have to gigure this on out.

"Doug Spelce" <doug@journee.com> wrote in message
news:b8uo0n$hmq$1@rogue.oti.com...
> Michiel,
>
> I got a similar NoClassDefFoundError exception today when installing
> Eclipse 2.1 with Sun's JRE 1.4.1_02 on my W2K box. The only additional
> plugin was the one my company is developing (contributes a perspective
> and a new editor). However, everything has worked fine for awhile on
> JRE 1.4.0_02. Here's the contents of the .log file:
>
> Doug
>
> ---------------------------------------------
> !ENTRY org.eclipse.core.launcher 4 0 May 02, 2003 15:21:01.881
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.reflect.InvocationTargetException:
> java.lang.reflect.InvocationTargetException:
> java.lang.NoClassDefFoundError: javax/xml/transform/Source
> at java.lang.Class.getConstructor0(Native Method)
> at java.lang.Class.getConstructor(Class.java:922)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivatio
n(PluginDescriptor.java:701)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(Plugin
Descriptor.java:188)
> at
>
org.eclipse.core.internal.plugins.PluginClassLoader.activate Plugin(PluginCla
ssLoader.java:112)
> at
>
org.eclipse.core.internal.plugins.PluginClassLoader.internal FindClassParents
Self(PluginClassLoader.java:185)
> at
>
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassParentsSelf
(DelegatingURLClassLoader.java:485)
> at
>
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegating
URLClassLoader.java:882)
> at
>
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegating
URLClassLoader.java:862)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension
(PluginDescriptor.java:130)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension
(PluginDescriptor.java:167)
> at
>
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExten
sion(ConfigurationElement.java:103)
> at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java
:155)
> at
>
org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(Perspec
tiveDescriptor.java:98)
> at
>
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:653
)
> at
>
org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:278)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:177)
> at
>
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:9
65)
> at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:1692)
> at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:369)
> at
>
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:41
3)
> at
org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindo w.java:1188)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWi ndow.java:1185)
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1074)
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:874)
> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
> at
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:845)
> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
> at java.lang.reflect.Method.invoke(Native Method)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
> at org.eclipse.core.launcher.Main.run(Main.java:747)
> at org.eclipse.core.launcher.Main.main(Main.java:583)
> ---------------------------------------------
>
> Michiel Bakker wrote:
> > Hi there,
> >
> > I installed the new Eclipse 2.1 with Lomboz 2.1 and EASIE for JBoss
(1.2.0).
> > I have JDK 1.4.1_02 installed and made all the configurations as noticed
in
> > the appropriate docs. When I try to start the JBoss server I get the
> > following error:
> >
> > "Error occured during initialization of VM
> > java/lang/NoClassDefinitionFoundError: java/lang/Object"
> >
> > I also tried with JDK 1.4.0_01 but with the same error.
> > The error is quite obvious but does anyone know what causes this?
> >
> > Regards,
> >
> > Michiel.
> >
> >
> >
> >
> >
>
Previous Topic:interaction between multiple windows
Next Topic:Runtime.exec child Process not separate?
Goto Forum:
  


Current Time: Sat Jul 27 12:34:49 GMT 2024

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

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

Back to the top