Java – incorrect package names are allowed in eclipse
•
Java
Some classes in my current project have bad package declarations (they are in the wrong folder of the declared package.)
Unfortunately, solving problems through mobile courses is not an option Is there a way for eclipse to ignore errors?
Solution
You can adjust the display of Eclipse in the "error / warning" section of the first option, but Java asks you to include files matching its package in the correct folder, so it will not be able to build.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码