jpa Tools -> Generate entities from Tables in SQL Server [message #1697427] |
Wed, 03 June 2015 20:25 |
Martin Benta Messages: 1 Registered: June 2015 |
Junior Member |
|
|
Hi!!
I'm not sure where to ask this, so if I'm in the wrong place, apologies in advance.
I am useing eclipse Luna and install WTP 3.6.3 SDK with the option "Install new software" in the eclipse. I create a JPA project and i am useing eclipselink 2.5.2. and SQL Server 2005
when i use jpa tools -> generate entities from tables of my database, the eclipse gave me the following error:
!MESSAGE An internal error occurred during: "Generating Entities".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
at org.eclipse.jpt.jpa.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace(GenerateEntitiesFromSchemaWizard.java:285)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.velocity.context.Context cannot be found by org.eclipse.jpt.jpa.gen_2.3.100.v201309061349
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more
Sameone who can help me?
Thanks and best regards.
|
|
|
Powered by
FUDForum. Page generated in 0.02996 seconds