Re: Classloading and ArgoUML

Martin Matula <[email protected]> Sat, 05 Jul 2003 00:48:29 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi Anders,
can you send more details about the ClassCastException? There are some 
other possible (and more elementary) problems besides the one Roy 
pointed you to. Maybe you are using both versions of UML (1.3 and 1.4) 
loaded in the repository at the same time (then the interfaces for 1.3 
clash with interfaces for 1.4), or you have some UML interfaces on your 
classpath but they are incorrect, or something, so MDR generates its own 
which are then incompatible with those on your classpath, etc.
So more info would help...
Martin

Anders W. Tell wrote:
> Hi,
> 
> Im having some trouble using ArgoUML and MDR together, for some reason I 
> get a classcast exception when refering to generated Java API/JMI files. 
> It seems that MDR and ArgoUML is using different classloaders or Im I 
> wrong ?
> 
> Im sure that ArgoUML got its own classloader but how is this loader 
> related to the automatically generated internal implementation of the 
> metamodel used internally in MDR ?
> 
> 
> Has anyone had a similar problem and solved it ?
> 
> /anders
> 
> 
>