E005 Undefined Class in Association
Errors and Warnings 1-50
noreferences

@@description

<h2>Umple semantic error reported when an an association is specified to a class that cannot be found</h2>

<p>The classes at both ends of an association must exist in the system being compiled. It might be that the specified class is spelled wrongly or has been omitted from the compilation. If you are making an association to a class in existing code, then simply
declare the class as external, as shown in the third example below.

</p>


@@example
@@source manualexamples/E005UndefinedClassinAssociation1.ump
@@endexample

@@example @@caption Solution to The Above So the Message No Longer Appears @@endcaption
@@source manualexamples/E005UndefinedClassinAssociation2.ump
@@endexample

@@example @@caption Another Solution to The Above So the Message No Longer Appears @@endcaption
@@source manualexamples/E005UndefinedClassinAssociation3.ump
@@endexample

@@example
@@source manualexamples/E005UndefinedClassinAssociation4.ump
@@endexample

