From: danch (D. Christopherson) <da...@nv...> - 2001-06-21 20:42:09
|
Do you have '.' in your classpath? Christine wrote: > I tried to call the test client without .class. but i am getting the same error. > > Exception in thread "main" java.lang.NoClassDefFoundError: InterestClient > > Allen fogleson wrote: > > >>just call it without the .class if you call it with .class java is looking >>for a class called "class" in the package InterestClient >> >>Al >> >>----- Original Message ----- >>From: Christine <ji...@cp...> >>To: <jbo...@li...> >>Sent: Thursday, June 21, 2001 12:13 AM >>Subject: [JBoss-user] How to set the classpath to run the InterestClient >>sample >> >> >>>Hi, >>> >>>I am using JBOSS 1.2.2 on WIN2000. I followed the documentation to run >>>the test client from the directory the InterestClient was compiled.: >>> >>>java -classpath >>> >>> >>c:\jboss_dist\client\jboss-client.jar;c:\jboss_dist\client\jbosssx-client.ja >>r;c:\jboss_dist\client\jnp-client.jar >> >>>InterestClient.class >>> >>>however, i am getting: Exception in thread "main" >>>java.lang.NoClassDefFoundError: InterestClient/class >>> >>>Could any tell me how i should set the classpath? thanks >>>-- >>>Jia (Christine) Li >>>Department of Computer Science >>>University of Calgary >>>Tel: 403-2207140 (O) >>> >>> >>> >>>_______________________________________________ >>>JBoss-user mailing list >>>JBo...@li... >>>http://lists.sourceforge.net/lists/listinfo/jboss-user >>> >>_______________________________________________ >>JBoss-user mailing list >>JBo...@li... >>http://lists.sourceforge.net/lists/listinfo/jboss-user >> > > -- > Jia (Christine) Li > Department of Computer Science > University of Calgary > Tel: 403-2207140 (O) > > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > |