Generating java code error: "must specify a supported type"

Hi All,

I’m using VP to generate java code. I met a problem when using a new data type. The error goes like:

Class <<class-name's>> attribute (<<attribute-name>> : BitSet) must specify a supported type.

When I change “BitSet” to “java.util.BitSet”, it doesn’t work either. However, When I use the “Date” type (java.util.Date), it works fine.

Could anybody shed a light for me? Thanks!


Hello Leon,

I guess this is duplicated with, right?

Best regards,
Rain Wong