I'm using JBoss 4.0.4.GA. I can't seem to compile the ejb3 webservice tutorials, or my own webservice class. I keep getting errors like:
| [javac] jboss-4.0.4.GA-src/ejb3/docs/tutorial/webservice/src/org/jboss/tutorial/webservice/bean/CalculatorBean.java:30: incompatible types | [javac] found : javax.jws.WebService | [javac] required: java.lang.annotation.Annotation | [javac] @WebService(endpointInterface="org.jboss.tutorial.webservice.bean.Calculator") I get this for WebService, WebMethod, Stateless, SOAPBinding, basically any annotation I try to use. Strangly, I can compile my class in eclipse, but not with ant. Nor can I compile the tutorials with ant, as mentioned. I can't find any useful references to this error in all my googling. Help would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944019#3944019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944019 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
