Skip to Content
0
Former Member
Aug 19, 2005 at 09:04 AM

Model generation error when using java.util.List in JavaBeans

41 Views

hi there,

when I try to generate model classes from JavaBeans classes,

packed into a JAR the generation process always stops with erros when the Bean class uses a property of type

java.util.List. See my example:

class MyJavaBean{

...

private java.util.List someMembers;

...

}

The error is:

Inspecting relation "MyJavaBean.SomeMembers" for source class "MyJavaBean"

[Warning]:This relation cannot be added as the TargetModelClass is not specified

[Error]: There are one or more relations unresolved. Importing the model without resolvoing the relations might result in erratic output.

Must I use a workaround or does anybody know something about this problem ? Installed: NW SP12

thx,

sabine