-->
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.  [ 3 posts ] 
Author Message
 Post subject: XDoclet and Hibernate Anonation Error
PostPosted: Thu Dec 29, 2005 3:19 am 
Beginner
Beginner

Joined: Fri Dec 26, 2003 3:21 pm
Posts: 23
Location: Jakarta
Hi All,

I just want to integrate my code using hibernate with xdoclet tag and new project using hibernate anonation.

i got this error.

if you have a sample code that use xdoclet tag and mix with anonation in persistance, let me know.

Frans


[hibernatedoclet] Error parsing File C:\cimande\cimande-last-12-oct-axis\webapps
\webwork\WEB-INF\src\java\org\blueoxygen\cimande\components\entity\LovEducationC
ode.java:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 26, column
1. Encountered: "@" (64), after : ""
[hibernatedoclet] Error parsing File C:\cimande\cimande-last-12-oct-axis\webapps
\webwork\WEB-INF\src\java\org\blueoxygen\cimande\components\dao\LovEducationCode
Dao.java:Encountered "<" at line 18, column 20.
[hibernatedoclet] Was expecting one of:
[hibernatedoclet] <IDENTIFIER> ...
[hibernatedoclet] "[" ...
[hibernatedoclet] "." ...
[hibernatedoclet]
[hibernatedoclet] Error parsing File C:\cimande\cimande-last-12-oct-axis\webapps
\webwork\WEB-INF\src\java\org\blueoxygen\cimande\components\entity\LovEducationC
ode.java:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 26, column
1. Encountered: "@" (64), after : ""


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 29, 2005 3:43 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
first you need to use a more recent version of xdoclet since older versions did not support jdk 5 syntax.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 29, 2005 7:59 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Use the CVS version of XDoclet as it supports jdk5 and has good H3 support.


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

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.