Hallo
Was kann das sein? Wenn ich meine Applikation aus Eclipse aus starte, funktioniert alles bestens, aber nach dem Export läuft gar nichts? Was mache ich falsch? Laut Log-File findet er offenbar meine Startklasse nicht? Aber die ist doch da?! Hatte schon mal jemand das selbe Problem, oder kann mir sonst jemand helfen?
Bin um jeden Hinweis dankbar!!!
Hier das Logfile:
Was kann das sein? Wenn ich meine Applikation aus Eclipse aus starte, funktioniert alles bestens, aber nach dem Export läuft gar nichts? Was mache ich falsch? Laut Log-File findet er offenbar meine Startklasse nicht? Aber die ist doch da?! Hatte schon mal jemand das selbe Problem, oder kann mir sonst jemand helfen?
Bin um jeden Hinweis dankbar!!!
Hier das Logfile:
!SESSION 2009-03-24 16:44:22.712 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2009-03-24 16:44:23.935
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "ch.menet.mis" was unable to instantiate class "ch.menet.mis.Application".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
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.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:188)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.ExceptionInInitializerError
at ch.menet.mis.util.HibernateUtil.<clinit>(HibernateUtil.java:19)
at ch.menet.mis.model.MisModel.initFromDatabase(MisModel.java:35)
at ch.menet.mis.model.MisModel.<init>(MisModel.java:29)
at ch.menet.mis.Application.<clinit>(Application.java:17)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
... 15 more
Caused by: org.hibernate.HibernateException: /hibernate.cfg.xml not found
at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:170)
at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1439)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1461)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1448)
at ch.menet.mis.util.HibernateUtil.<clinit>(HibernateUtil.java:15)
... 25 more