Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
an error occured when i used this wizard(Eclipse 3.1RC2 hibernate tools 3.0 alpha4a):NoClassDefFoundError,but i had the aspectj plugin installed.
Hibernate version:3.0
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs
:!MESSAGE org/aspectj/lang/Signature
!STACK 0
java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
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.hibernate.console.ConsoleConfiguration.registerFakeDriver(ConsoleConfiguration.java:190)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:156)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:230)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:164)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:132)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:98)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Name and version of the database you are using:MySql 4.1.7
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: