two package:
a.sub.ClassA,
b.ClassB;
package a and package b are at the same level in my project.
If I want to use ClassB in ClassA, I wrote import b.* in ClassA, why does it can’t be compiled?

This is my code:
bussinessLogicService/MemberBLService.java
package bussinessLogicService;
import java.util.ArrayList;
import po.*;
public interface MemberBLService {
public String getMemberName();
public String getMemberID();
//some methods more
}
busssinessService/MemberService.java
package bussinessLogic.controller;
import java.util.*;
import bussinessLogicService.MemberBLService;
public class MemberBLService_Stub{
}
Here is the problem:

There are a couple of reasons for why it could fail. Make sure that
ClassA.javais located in folder./a/suband fileClassB.javais located in folder./bClassA.javaispackage a.sub;, the first line in the other file ispackage b;public(like:public class ClassA)import b.*;(import b.ClassB;should work too)ClassBgets compiled beforeClassA(compiler needs to see./b/ClassB.class)