目前Java已经禁止import未命名package下的class: From the Java language spec: It is a compile time error to import a type from the unnamed package.