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).
|
|