Could someone help me this this please…
I have some code generated by JAG 5.01, which I’m trying to use in a MyEclipse project.
The following is in the source code for a DAO, which complies with Ant:
@Entity
@Table(name = “addresses”)
There’s lots of other stuff about the database table in a Java code as well. But in MyEclipse, the code won’t compile – instead I get the message
Syntax error, annotations are only available if source level is 5.0
wherever this markup appears. Does anyone know what is causing this and how to fix it?
Thanks.
PS. I could just go through all the files in the DAO layer an remove the markup, but I don’t want to as I may need to re-generate the java code again.