Solution:
Try cleaning your project by going to the following menu item:
Project > Clean…
If that doesn’t work, try removing the jars from the build path and adding them again.
Try cleaning your project by going to the following menu item:
Project > Clean…
If that doesn’t work, try removing the jars from the build path and adding them again.
Reference:
https://stackoverflow.com/questions/4322893/eclipse-error-the-import-xxx-cannot-be-resolved
https://stackoverflow.com/questions/4322893/eclipse-error-the-import-xxx-cannot-be-resolved
Similar Posts:
- Maven Error: Failed to read artifact descriptor for xxx:jar and missing artifact maven dependency
- The solution of the import javax.servlet cannot be resolved in Java
- [Solved] Eclipse project red exclamation mark: build path problem
- Error reporting when importing Maven project from MyEclipse
- [Solved] Could not resolve com.android.support:appcompat-v7:28.0.0
- After modifying Tomcat’s server.xml, the Tomcat deployment project reported an error: removing observe files from server… Could not clean server
- Dubbo learning — import eclipse exception unbound classpath container (2)
- Could not find tools.jar when build gradle project
- It is indirectly referenced from required .class files
- “Cannot resolve symbol R” in Android studio