[jboss-user] [JBossWS] - missing client libraries when setting up JBossWS Testsuite E
davidyu8888
do-not-reply at jboss.com
Sun Dec 28 17:20:27 EST 2008
Hello,
I am new to JBossWS.
I have installed it successfully on my machine.
I am using jboss-5.0.0.GA and jbossws native 3.0.4 GA. I am trying to set up my Eclipse IDE(3.4.0) with the JBossWS Testsuite Eclispe Project.
>From the root directory for the JBoss WS Native Binary Distributaiton, I run "ant eclipse", for the compiling target, I encountered about 54 compiling errors, most of them a complaining about missing EJB3 related classes/jars/annotations.
When I check the class path for <jbossws root>\tests\ant-import\build-testsuite.xml, I found that several jars needed for compilation are missing from related directories for my jboss AS. Especially from ${jboss.client}.
Not quite sure how to proceed in this case?Where should I find the missing jars? Should I download the right version of JBoss AS so that all EJB3 related jars are included?
See below for examples of the compilation errors:
amples\advanced\retail\OrderAdmin.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmt.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmt.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmtBean.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmtBean.java:43: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmt.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmt.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\cc\CCVerificationBean.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\cc\CCVerificationBean.java:31: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmtBean.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmtBean.java:29: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:28: package javax.annotation.security does not e
xist
[javac] import javax.annotation.security.RolesAllowed;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:29: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:47: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:53: cannot find symbol
[javac] symbol: class RolesAllowed
[javac] @RolesAllowed("friend")
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\eardeployment\EJB3Bean.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\eardeployment\EJB3Bean.java:38: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\exception\server\ExceptionEndpointEJB3Impl.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\exception\server\ExceptionEndpointEJB3Impl.java:28: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:24: package javax.annotation.se
curity does not exist
[javac] import javax.annotation.security.RolesAllowed;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:36: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless(name = "SecureEndpoint")
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\securityDomain\SecureEndpointAS5Impl.java:41: cannot find symbol
[javac] symbol: class RolesAllowed
[javac] @RolesAllowed("friend")
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:26: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:27: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:36: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJBRemote.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\serviceref\EJBClient.java:37: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\BareEndpointImpl.java:29: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\BareEndpointImpl.java:37: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\RpcLitEndpointImpl.java:26: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\RpcLitEndpointImpl.java:37: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\WrappedEndpointImpl.java:29: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\swaref\WrappedEndpointImpl.java:38: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:41: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3RemoteInterface.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean01.java:42: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:25: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:27: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:45: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3RemoteInterface.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean02.java:46: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:24: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:25: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:38: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3RemoteInterface.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webservice\EJB3Bean03.java:39: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:26: cannot find symbol
[javac] symbol : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:27: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:37: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote(EJB3Remote.class)
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\webserviceref\EJB3Client.java:38: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointImpl.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointImpl.java:34: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointWithHandlerImpl.java:24: cannot find symbol
[javac] symbol : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\managem
ent\recording\EndpointWithHandlerImpl.java:35: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 54 errors
BUILD FAILED
C:\Java\jbossws-native-bin-dist\build.xml:88: The following error occurred while
executing this line:
C:\Java\jbossws-native-bin-dist\tests\ant-import\build-testsuite.xml:275: Compil
e failed; see the compiler error output for details.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198668#4198668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198668
More information about the jboss-user
mailing list