annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations)
@WebService
Add the following to pom.xml:
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
No comments:
Post a Comment