Re: Unknown tag: @hibernate.component in file

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>

--- [email protected] wrote:

> Hi,
> 
> I believe I just successfully installed the xdoclet2
> plugin that I am 
> using to try to create hibernate mapping files from
> POJO's but I am 
> getting the following error, complaining about
> hibernate tags when running 
> mvn compile :
> 
> 
> Unknown tag: @hibernate.component in file
> 
> 
> my POJO has the code:
> 
> /**
>  * DOCUMENT ME!
>  *
>  * @hibernate.class
>  *            table = "Message"
>  */
> public class Message implements Serializable {

I assume you try to u se hibernate plugin.  But
actually you are running qtags  plugin which
is definitely for plugin development.

And complaints about not knowing about  @hibernate
tags
mean that implementation classes are not on classpath
-> you plugin invocation cleary is  missing 
dependency
to hibernate plugin
( maven2  plugin does not specify dependencies on
individual plugins )

What is in your pom.xml ? 

regards, 

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.