After some code modifications, I suddenly noticed the project icon has a small red cross icon. However, no other file/package/folder is showing this icon. I am not sure where the error is and how to solve it.
In Eclipse IDE, If a project contains errors, a small “red-x” icon will be displayed in the files that are causing the error. This useful feature is supported in Java related perspectives only, for example, “Package Explorer”.
use this simple steps right click on the project->properties ->java Build path-> click on the jre system library and remove it after that step click on Add library and add a new jre system library that will resolve it!
You have open eclipse. ini file and change -vm path to correct JDK location. In my case it's /Library/Java/JavaVirtualMachines/jdk1.
Usually it means that there's a path error, eg. one jar referenced in the project cannot be found.
Use the 'problems' view to get more details
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With