org/lwjgl/LWJGLException

Started by Jan, November 07, 2006, 15:39:46

Previous topic - Next topic

Jan

Hi,

I am getting another exception:

java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException
   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
   at java.lang.Class.getConstructor0(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
   at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
   at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
   at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
   at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:234)
   at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:69)
   at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:292)
   at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
   at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
   at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525)
   at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
   at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
   at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
   at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
   at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
   at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:601)
   at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:532)
   at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:562)
   at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:244)
   at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:815)
   at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2436)
   at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2616)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
   at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2597)
   at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:658)
   at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:795)
   at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1437)
   at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1388)
   at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)
   at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708)
   at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at test.Application.run(Application.java:18)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
   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:336)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
   at org.eclipse.core.launcher.Main.run(Main.java:977)
   at org.eclipse.core.launcher.Main.main(Main.java:952)

I couldn't find any hints on the forum. Anybody able to help?

ndhb

Maybe a classpath issue? Are the .jar files accessible? You can add them to an Eclipse project in menubar "Project" -> "Properties" -> "Java Build Path" -> "Libraries".

Jan

I already did that. I don't know wether it is important or not, but it is a plugin-projekt for eclipse.

ndhb

I can't help you with advice if it's a Plugin-project. They might have a different build path? Never used it myself. Good luck and drop a line if you resolve it ;)

Jan

It actually was a classpath issue. In the plugin.xml you have to explicitly add the jars to the classpath. After that it worked just fine. Thanks for the help :)