I'm using xdoclet version 1.2.3 to build map files .hbm.xml to Hibernate.
It was working all fine, but when I start to work with Generics, something was wrong. I got the follow error mesage:
=========================================
[hibernatedoclet] Error parsing File
/home/cris/dev/projetos/java/lib/autox/modulo_principal_servicos/src/com/autox/m\
odulos/principal/servicos/pojos/UsuarioTipo.java:Encountered
"<" at line 13, column 14.
[hibernatedoclet] Was expecting one of:
[hibernatedoclet] <IDENTIFIER> ...
[hibernatedoclet] "[" ...
[hibernatedoclet] "." ...
[hibernatedoclet] "(" ...
=========================================
At Line 13 in "UsuarioTipo.java" I have the follow line:
=========================================
private Set<UsuarioTipoPermissao> usuarioTiposPermissoes = new
HashSet<UsuarioTipoPermissao>();
=========================================
I know. It's a problem with Generics and xdoclet.
Pergunta: what can I have to do to fix this?
Thank you
Cristiano M. Magalhaes
-------------------------------
Versions:
Java: 1.6
Xdoclet: 1.2.3
Hibernate: 3.0.3
|