I tried every jars from "all" because I have installed EJB3 into "all"
(and not "default").
And result ( demo based on distribution example) with jboss 404 GA + EJB3RC8:
| [javac] Compiling 1 source file to
/home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/build/classes
| [javac]
/home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/src/cz/qds/wsdemo/sbi/ExampleRemote.java:10:
incompatible types
| [javac] found : javax.jws.WebService
| [javac] required: java.lang.annotation.Annotation
| [javac] @WebService
| [javac] ^
| [javac]
/home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/src/cz/qds/wsdemo/sbi/ExampleRemote.java:11:
incompatible types
| [javac] found : javax.jws.soap.SOAPBinding
| [javac] required: java.lang.annotation.Annotation
| [javac] @SOAPBinding(style=Style.RPC)
| [javac] ^
| [javac]
/home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/src/cz/qds/wsdemo/sbi/ExampleRemote.java:11:
duplicate annotation
| [javac] @SOAPBinding(style=Style.RPC)
| [javac] ^
| [javac]
/home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/src/cz/qds/wsdemo/sbi/ExampleRemote.java:14:
incompatible types
| [javac] found : javax.jws.WebMethod
| [javac] required: java.lang.annotation.Annotation
| [javac] @WebMethod int add(int x, int y);
| [javac] ^
| [javac]
/home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/src/cz/qds/wsdemo/sbi/ExampleRemote.java:15:
incompatible types
| [javac] found : javax.jws.WebMethod
| [javac] required: java.lang.annotation.Annotation
| [javac] @WebMethod int subtract(int x, int y);
| [javac] ^
| [javac] 5 errors
|
| BUILD FAILED
| /home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/nbproject/build-impl.xml:240: The
following error occurred while executing this line:
| /home/lur/JavaProjects/Qds/JbossWS-EJB3Demo-SBI/nbproject/build-impl.xml:123: Compile
failed; see the compiler error output for details.
|
| Total time: 2 seconds
|
|
Leonell
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969560#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...