Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Missing serialized package: uml.ecore
Missing serialized package: uml.ecore [message #626956] Fri, 26 September 2008 21:49
Hector M Chavez is currently offline Hector M ChavezFriend
Messages: 18
Registered: July 2009
Junior Member
I'm trying to manually create a few classes and this code:

org.eclipse.uml2.uml.Class class_ = UMLFactory.eINSTANCE.createClass();
class_.setName("class");

and is causing an exception the following:

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.eclipse.uml2.uml.UMLPackage$Literals.<clinit>(UMLPackage.java:2244)
...
...

Caused by: java.lang.RuntimeException: Missing serialized package:
uml.ecore
at
org.eclipse.uml2.uml.internal.impl.UMLPackageImpl.loadPackag e(UMLPackageImpl.java:10902)
at
org.eclipse.uml2.uml.internal.impl.UMLPackageImpl.init(UMLPa ckageImpl.java:1966)
at org.eclipse.uml2.uml.UMLPackage.<clinit>(UMLPackage.java:81)
... 11 more

I would appreciate any comments, thanks.
Previous Topic:How can I generate code from my UML model using Eclipse?
Next Topic:UUID generation
Goto Forum:
  


Current Time: Mon Mar 30 17:43:41 GMT 2020

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

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

Back to the top