-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to fix this? Problem with xdoclet and generics.
PostPosted: Tue Sep 23, 2008 12:55 pm 
Newbie

Joined: Mon May 14, 2007 9:58 pm
Posts: 7
Location: Bahia / Brasil
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.