Hi,
I am new to JBoss WS, I just started working on this for a POC, I
successfully installed the WS on JBoss AS.
When I try to run the samples, by using...ant from jbossWS home, am
getting the following exceptions...
I can understand that the junit.jar is missing and something for
assertions, but let me know where can I keep the junit.jar... it exists
in lib directory of JBossWS.
Any Suggestions....
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\xop\doclit\XOPHandlerTestCase.
java:58: cannot find symbol
[javac] symbol : class Test
[javac] location: class
org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase
[javac] public static Test suite()
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\xop\doclit\XOPWrappedTestCase.
java:53: cannot find symbol
[javac] symbol : class Test
[javac] location: class
org.jboss.test.ws.jaxws.samples.xop.doclit.XOPWrappedTestCase
[javac] public static Test suite()
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\smoke\tools\ScriptTestCase.java:37:
cannot find symbol
[javac] symbol: class TestCase
[javac] public class ScriptTestCase extends TestCase
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\smoke\tools\WSConsumerTestCase.java:46
: cannot find symbol
[javac] symbol: class TestCase
[javac] public class WSConsumerTestCase extends TestCase
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:38:
cannot find symbol
[javac] symbol: class RemoteBinding
[javac] @RemoteBinding(jndiBinding = "/ejb/EJBClient")
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
38: cannot find symbol
[javac] symbol: class RemoteBinding
[javac] @RemoteBinding(jndiBinding = "/ejb3/EJB3Client")
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
tchTestCase.java:66: cannot access junit.extensions.TestSetup
[javac] file junit\extensions\TestSetup.class not found
[javac] return new
JBossWSTestSetup(AsynchronousDispatchTestCase.class,
"jaxws-samples-asynchronous.war");
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
tchTestCase.java:100: cannot find symbol
[javac] symbol : method assertTrue(java.lang.String,boolean)
[javac] location: class
org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousDispatchTestCas
e
[javac] assertTrue("Async handler called", asyncHandlerCalled);
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
tchTestCase.java:105: cannot find symbol
Regards,
Rajagopal Y (Raj)
HCU-Consulting & Enterprise Solutions.
Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended
recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION.
Any review or reliance by others or copying or distribution or forwarding of any or all of
the contents in this message is STRICTLY PROHIBITED. If you are not the intended
recipient, please contact the sender by email and delete all copies; your cooperation in
this regard is appreciated.