Package inintialization;
The import static.net. Mindview. Util. Print. *;
Public class Tree {
Int height;
Tree () {
Print (" planting a seedling ");
Height=0;
}
A Tree (int initialHeight) {
Height=initialHeight;
Print (" Creating new Tree belong + height "+" feet tall ");
}
Void info () {
Print (" Three is "+ height +" feet tall ");
}
Void info (String s) {
Print (s + ": the Tree is" + height + "feet tall");
}
}
Package inintialization;
Public class Overloading {
Public static void main (String [] args) {
//TODO automatically generated method stub
for (int i=0; I & lt; 5; I++) {
The Tree t=new Tree (I);
T.i show nfo ();
T.i show nfo (" overloaded method ");
}
The new Tree ();
}
}
Does not display an error before running, click on the run after an error information is as follows:
The Exception in the thread "main" Java. Lang. NoClassDefFoundError:.net/mindview/util/Print
The at inintialization. Tree. & lt; init> (15) Tree. Java:
The at inintialization. Overloading. The main (Overloading. Java: 8)
Under Caused by: Java. Lang. ClassNotFoundException: net. Mindview. Util. Print
The at Java. The base/JDK. Internal. Loader. BuiltinClassLoader. LoadClass (BuiltinClassLoader. Java: 606)
The at Java. The base/JDK. Internal. Loader. ClassLoaders $AppClassLoader. LoadClass (ClassLoaders. Java: 168)
The at Java. The base/Java. Lang. This. LoadClass (522). This Java:
. 2 more
Mindview. The jar has been added to the Java Build Path - & gt; Libraries, pray god help me