The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Ask for help

Posted by Lu Ping on November 26, 2000 at 4:40 AM

I am reading book <>, and found it very good. I am a beginner for Java, and just began to learn it.

I meet a problem when I read chapter 5 about package:
I do as your instructions,set the classpath,make the directory for the tools package, and compiled the Assert.java and TestAssert.java, it reports none error,but when I run TestAssert, it tells me
'Exception in thread "main" java.lang.NoClassDefFoundError: TestAssert'.
And I found TestTool for test P.class has this matter, too.
I am hardly going on if I don't get rid of the problem, can you do me a favor to this matter?
Thanks



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us