Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » GettingStartedWithUML source code
GettingStartedWithUML source code [message #470969] Thu, 22 February 2007 17:16 Go to next message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
hi,

Is there the "Getting Started With UML2" source code for version uml2.0?
I got follwing error when I use the old code. Is this a problem of the
version of uml plugin?

Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/uml2/common/util/CacheAdapter
at org.eclipse.uml2.impl.ElementImpl.<init>(ElementImpl.java:99)
at
org.eclipse.uml2.impl.TemplateableElementImpl.<init>(TemplateableElementImpl.java:90)
at
org.eclipse.uml2.impl.NamedElementImpl.<init>(NamedElementImpl.java:150)
at org.eclipse.uml2.impl.NamespaceImpl.<init>(NamespaceImpl.java:115)
at org.eclipse.uml2.impl.PackageImpl.<init>(PackageImpl.java:165)
at org.eclipse.uml2.impl.ModelImpl.<init>(ModelImpl.java:79)
at
org.eclipse.uml2.impl.UML2FactoryImpl.createModel(UML2Factor yImpl.java:886)
at GettingStartedWithUML2.createModel(GettingStartedWithUML2.ja va:37)
at GettingStartedWithUML2.main(GettingStartedWithUML2.java:221)

thanks
Re: GettingStartedWithUML source code [message #470970 is a reply to message #470969] Thu, 22 February 2007 19:19 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Jerry,

If you are just starting out, I would suggest taking the latest UML
downloads from here:
http://www.eclipse.org/modeling/mdt/downloads/index.php?proj ect=uml2&showAll=0&showMax=5
and then follow the article with source. Is there a reason why you want to
start with the old version of UML?

- James.


"Jerry" <sjianlin@hotmail.com> wrote in message
news:198ec6eebb7caa2642caba8c3797a4d1$1@www.eclipse.org...
> hi,
>
> Is there the "Getting Started With UML2" source code for version uml2.0?
> I got follwing error when I use the old code. Is this a problem of the
> version of uml plugin?
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/uml2/common/util/CacheAdapter
> at org.eclipse.uml2.impl.ElementImpl.<init>(ElementImpl.java:99)
> at
>
org.eclipse.uml2.impl.TemplateableElementImpl.<init>(TemplateableElementImpl
..java:90)
> at
> org.eclipse.uml2.impl.NamedElementImpl.<init>(NamedElementImpl.java:150)
> at org.eclipse.uml2.impl.NamespaceImpl.<init>(NamespaceImpl.java:115)
> at org.eclipse.uml2.impl.PackageImpl.<init>(PackageImpl.java:165)
> at org.eclipse.uml2.impl.ModelImpl.<init>(ModelImpl.java:79)
> at
>
org.eclipse.uml2.impl.UML2FactoryImpl.createModel(UML2Factor yImpl.java:886)
> at GettingStartedWithUML2.createModel(GettingStartedWithUML2.ja va:37)
> at GettingStartedWithUML2.main(GettingStartedWithUML2.java:221)
>
> thanks
>
>
Re: GettingStartedWithUML source code [message #470972 is a reply to message #470969] Fri, 23 February 2007 03:52 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Jerry,

The source code referenced by the latest version of the article
( http://download.eclipse.org/modeling/mdt/uml2/downloads/arti cles/uml2.articles_200607181325.zip)
should be based on UML2 2.0.

Kenn

"Jerry" <sjianlin@hotmail.com> wrote in message
news:198ec6eebb7caa2642caba8c3797a4d1$1@www.eclipse.org...
> hi,
>
> Is there the "Getting Started With UML2" source code for version uml2.0?
> I got follwing error when I use the old code. Is this a problem of the
> version of uml plugin?
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/uml2/common/util/CacheAdapter
> at org.eclipse.uml2.impl.ElementImpl.<init>(ElementImpl.java:99)
> at
> org.eclipse.uml2.impl.TemplateableElementImpl.<init>(TemplateableElementImpl.java:90)
> at
> org.eclipse.uml2.impl.NamedElementImpl.<init>(NamedElementImpl.java:150)
> at org.eclipse.uml2.impl.NamespaceImpl.<init>(NamespaceImpl.java:115)
> at org.eclipse.uml2.impl.PackageImpl.<init>(PackageImpl.java:165)
> at org.eclipse.uml2.impl.ModelImpl.<init>(ModelImpl.java:79)
> at
> org.eclipse.uml2.impl.UML2FactoryImpl.createModel(UML2Factor yImpl.java:886)
> at GettingStartedWithUML2.createModel(GettingStartedWithUML2.ja va:37)
> at GettingStartedWithUML2.main(GettingStartedWithUML2.java:221)
>
> thanks
>
>
Re: GettingStartedWithUML source code [message #470975 is a reply to message #470970] Fri, 23 February 2007 10:01 Go to previous message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
Thank you for help!
The only reason I was using the old instruction is that I was following
the link to the old article, and some links to the new version article
doesn't work! e.g.,
http://www.eclipse.org/projects/roadmap/project.php?project= modeling.uml2.
But with the help from you, I got the new version and will try that!
thanks again!
Re: GettingStartedWithUML source code [message #590534 is a reply to message #470969] Thu, 22 February 2007 19:19 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Jerry,

If you are just starting out, I would suggest taking the latest UML
downloads from here:
http://www.eclipse.org/modeling/mdt/downloads/index.php?proj ect=uml2&showAll=0&showMax=5
and then follow the article with source. Is there a reason why you want to
start with the old version of UML?

- James.


"Jerry" <sjianlin@hotmail.com> wrote in message
news:198ec6eebb7caa2642caba8c3797a4d1$1@www.eclipse.org...
> hi,
>
> Is there the "Getting Started With UML2" source code for version uml2.0?
> I got follwing error when I use the old code. Is this a problem of the
> version of uml plugin?
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/uml2/common/util/CacheAdapter
> at org.eclipse.uml2.impl.ElementImpl.<init>(ElementImpl.java:99)
> at
>
org.eclipse.uml2.impl.TemplateableElementImpl.<init>(TemplateableElementImpl
..java:90)
> at
> org.eclipse.uml2.impl.NamedElementImpl.<init>(NamedElementImpl.java:150)
> at org.eclipse.uml2.impl.NamespaceImpl.<init>(NamespaceImpl.java:115)
> at org.eclipse.uml2.impl.PackageImpl.<init>(PackageImpl.java:165)
> at org.eclipse.uml2.impl.ModelImpl.<init>(ModelImpl.java:79)
> at
>
org.eclipse.uml2.impl.UML2FactoryImpl.createModel(UML2Factor yImpl.java:886)
> at GettingStartedWithUML2.createModel(GettingStartedWithUML2.ja va:37)
> at GettingStartedWithUML2.main(GettingStartedWithUML2.java:221)
>
> thanks
>
>
Re: GettingStartedWithUML source code [message #590566 is a reply to message #470969] Fri, 23 February 2007 03:52 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Jerry,

The source code referenced by the latest version of the article
( http://download.eclipse.org/modeling/mdt/uml2/downloads/arti cles/uml2.articles_200607181325.zip)
should be based on UML2 2.0.

Kenn

"Jerry" <sjianlin@hotmail.com> wrote in message
news:198ec6eebb7caa2642caba8c3797a4d1$1@www.eclipse.org...
> hi,
>
> Is there the "Getting Started With UML2" source code for version uml2.0?
> I got follwing error when I use the old code. Is this a problem of the
> version of uml plugin?
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/uml2/common/util/CacheAdapter
> at org.eclipse.uml2.impl.ElementImpl.<init>(ElementImpl.java:99)
> at
> org.eclipse.uml2.impl.TemplateableElementImpl.<init>(TemplateableElementImpl.java:90)
> at
> org.eclipse.uml2.impl.NamedElementImpl.<init>(NamedElementImpl.java:150)
> at org.eclipse.uml2.impl.NamespaceImpl.<init>(NamespaceImpl.java:115)
> at org.eclipse.uml2.impl.PackageImpl.<init>(PackageImpl.java:165)
> at org.eclipse.uml2.impl.ModelImpl.<init>(ModelImpl.java:79)
> at
> org.eclipse.uml2.impl.UML2FactoryImpl.createModel(UML2Factor yImpl.java:886)
> at GettingStartedWithUML2.createModel(GettingStartedWithUML2.ja va:37)
> at GettingStartedWithUML2.main(GettingStartedWithUML2.java:221)
>
> thanks
>
>
Re: GettingStartedWithUML source code [message #590619 is a reply to message #470970] Fri, 23 February 2007 10:01 Go to previous message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
Thank you for help!
The only reason I was using the old instruction is that I was following
the link to the old article, and some links to the new version article
doesn't work! e.g.,
http://www.eclipse.org/projects/roadmap/project.php?project= modeling.uml2
But with the help from you, I got the new version and will try that!
thanks again!
Previous Topic:[Announce]UML2 2.1 has gone generic.
Next Topic:Deffrence between lower and lowervalue of the association in uml2
Goto Forum:
  


Current Time: Thu Apr 18 18:08:24 GMT 2024

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

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

Back to the top