-->
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: MappedSuperclass and annotation type not applicable error
PostPosted: Tue Nov 13, 2007 11:32 am 
Newbie

Joined: Mon Nov 12, 2007 6:36 pm
Posts: 6
I am using MappedSuperclass on my abstract superclass and eclipse compiles it fine, but when I try to build using ant I get this error

[javac] C:\Users\sks\development\workspace\pdo\src\com\peakdistrictonline\dao\categories\AbstractCategory.java:26: annotation type not applicable to this kind of declaration
[javac] @MappedSuperclass
[javac] ^


Obviously mapped superclass can go on a class declaration. Help ! I cannot find anything in the forum or in google about this.

(I have tried latest downloads of annotations and core. Upgrading from Java 5.12 to 5.14 now to see if that helps).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 12:55 pm 
Newbie

Joined: Mon Nov 12, 2007 6:36 pm
Posts: 6
java 6.3 and 5.14 don't help.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 9:05 am 
Newbie

Joined: Mon Nov 12, 2007 6:36 pm
Posts: 6
If anyone cares the problem was the ejb3 jar that ships with resin. Replaced that with hibernates and bingo.


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.