annotations are not supported in -source 1.3
If you are using Maven 2 and you see this issue when you are building your applications, then easy way out is to add the following snippet to your pom.xml.
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
0 comments:
Post a Comment