Eclipse Import Project, sometimes the Java file icon from the solid J into the hollow J problem, this time can not edit the source file, as a workaround is right-click the folder –>buildpath–> use as source folders
When the above problem is resolved, if you choose the file path is not correct, open a Java file will appear the first line of the packet error, the declared package does not match the expected packages, this is the main right-click File, Without locating the correct location, the solution to this problem is to remove the file you added from the source folder and navigate to the top-level directory of your package name, such as the Java package named Com.eaphy.platform.patch.slogon.action, Error message that the package name should be java.com.eaphy.platform.patch.slogon.action, then the right folder should be at the Java level, and then buildpath–> use as source folder so that Okay, OK.