Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » jpa Tools -> Generate entities from Tables in SQL Server
jpa Tools -> Generate entities from Tables in SQL Server [message #1697427] Wed, 03 June 2015 20:25
Martin Benta is currently offline Martin BentaFriend
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.
Previous Topic:Eclipse deploy jar instead of war
Next Topic:IBM Websphere Application Server V8.0X Developer Tools for Kepler
Goto Forum:
  


Current Time: Mon Jul 16 23:28:59 GMT 2018

Powered by FUDForum. Page generated in 0.01363 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top