A Technology Blog About Code Development, Architecture, Operating System, Hardware, Tips and Tutorials for Developers.

Friday, November 9, 2012

annotations are not supported in -source 1.3

10:11:00 PM Posted by Satish Kumar , No comments
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