Eclipse Fehler beim Öffnen des Hibernate Configuration File Wizard

F

FolkertM

Ich verwende Hibernate 3.1, Hibernate Tools 3.1.0beta5, Eclipse 3.1.2 und Java 5.0.
Wenn ich mit Eclipse ein Hibernate Configuration File - cfg.xml anlegen will sagt der
Eclipse Wizard.


- Problem Opening Wizard -
The selected wizard could not be started.
Reason: Plug-in org.hibernate.console was unable to load class org.hibernate.console.wizards.NewConfigurationWizard.


Ich habe mir jetzt im Ordner .metadata unter dem Ordener workspace von Eclipse die .log Datei angesehen. In der .log Datei stehen die Exception's die Eclipse beim laden wirft, das geht los mit der Exception NoClassDefFoundError: org/apache/log4j/Category,


!ENTRY org.eclipse.osgi 2006-09-02 19:41:42.921
!MESSAGE An error occurred while automatically activating bundle org.hibernate.eclipse (135).
!STACK 0
org.osgi.framework.BundleException: Exception in org.hibernate.eclipse.HibernatePlugin.start() of bundle org.hibernate.eclipse.
...
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:263)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:396)
at org.hibernate.eclipse.HibernatePlugin.start(HibernatePlugin.java:25)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
... 86 more
Root exception:
java.lang.NoClassDefFoundError: org/apache/log4j/Category
...


Wer kann diese Fehler in der .log Datei richtig lesen und interpretieren? Danke!
 

Anhänge

  • 25940attachment.txt
    60,3 KB · Aufrufe: 55
Zurück