This class should be in jboss-client.jar
Perhaps you can explain your classpath/classloader config?
Which version are you using?
Thanks for your reply.I used a shell script as below to run the test client:
java -Djava.security.policy=client.policy -Djava.security.manager -classpath ../build/classes:$CP junit.textui.TestRunner com.zsoft.coffee.test.CoffeesClient
So the jboss-client is not in the classpath. When adding it,it works now :)
Thank you very much!