Hi, all
I'm a beginer.
I run the example "Interest" using ANT, it works well.
But when I run my InterestClient, it dosn't work.
- I copied interest.jar into \jboss_home\deploy\
- I edit a testCliet.bat as following:
REM set J2EE_HOME=c:\j2sdkee1.3.1
set CPATH=.;%J2EE_HOME%\lib\j2ee.jar;c:\Jboss-2.4.10\client\ejb.jar;
c:\Jboss-2.4.10\client\jaas.jar;c:\Jboss-2.4.10\client\jbosssx-client.jar;
c:\Jboss-2.4.10\client\jboss-client.jar;c:\Jboss-2.4.10\client\jnp-client.jar;
c:\Jboss-2.4.10\examples\build-examples\interest\classes\org\jboss\docs\interest;
c:\Jboss-2.4.10\examples\resources
java -classpath "%CPATH%" InterestClient
-jndi.properties is in \jboss_home\examples\resources
when I run my testClient, I'v got an error message as following:
Exception in thread "main" java.lang.NoClassDefFoundError: InterestClient (wrong name:
org/jboss/docs/interest/InterestClient
but class InterestClient is in right directory.
please help me, thanks in advance,
Simon