Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Error running Teneo (1.x) Dynamic.java example
[Teneo] Error running Teneo (1.x) Dynamic.java example [message #620249] Sat, 23 August 2008 03:03
Mdu Mising name is currently offline Mdu Mising nameFriend
Messages: 22
Registered: October 2009
Junior Member
Hi All,
I have modified Dynamic.java example to run it standalone (as opposed
to within Eclipse). I got rid of all references to Library classes to
that I can create a class from scratch. Everything compiles. But when I
run the example I get ff. error:

Aug 22, 2008 10:44:29 PM org.eclipse.emf.teneo.hibernate.HbHelper
createRegisterDataStore
INFO: Creating emf data store and registering it under name: MySF
Aug 22, 2008 10:44:29 PM org.eclipse.emf.teneo.hibernate.HbHelper
createRegisterDataStore
INFO: Returning created emf data store, initialize this newly created
data store!
Aug 22, 2008 10:44:30 PM
org.eclipse.emf.teneo.classloader.ClassLoaderResolver setClassLoaderStrategy
INFO: Class loader strategy set to:
org.eclipse.emf.teneo.classloader.ContextClassLoaderStrategy
Aug 22, 2008 10:44:30 PM
org.eclipse.emf.teneo.extension.DefaultExtensionManager getExtension
WARNING: The extension: org.eclipse.emf.teneo.PersistenceOptions is
declared as a singleton but this getInstance call passed initialization
parameters so it is not cached, org.eclipse.emf.teneo.PersistenceOptions
Aug 22, 2008 10:44:30 PM org.eclipse.emf.teneo.TeneoException <init>
SEVERE: EPackages are not set
org.eclipse.emf.teneo.hibernate.HbMapperException: EPackages are not set
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:62)
at hbtutorial.QuickStart.doQuickStart(QuickStart.java:67)
at hbtutorial.Dynamic.main(Dynamic.java:70)
Exception in thread "main"
org.eclipse.emf.teneo.hibernate.HbMapperException: EPackages are not set
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:62)
at hbtutorial.QuickStart.doQuickStart(QuickStart.java:67)
at hbtutorial.Dynamic.main(Dynamic.java:70)

Thanks in advance.
Previous Topic:[Teneo] Use several ecore file for the same model
Next Topic:[Teneo] Error running Teneo (1.x) Dynamic.java example
Goto Forum:
  


Current Time: Tue Apr 07 11:43:13 GMT 2020

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

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

Back to the top