[求助]关于包
//Test1.java
package Mypack;
public class Test1 {
Test1(){}
}
// Test2.java
package Mypack;
class Test2 {
public static void main(String args[]) {
Test1 t1 = new Test1();
}
}
javac -d . Test1.java
javac -d . Test2.java
出错:cannot resolve symbol
symbol: class Test1
location: class Test2
Test1 t1 = new Test1();
怎么回事,怎么解决?