I’m having a problem with imports in one of my java applications.
I’ve Taken a working JSP out of one Eclipse project, Jar’d up all the classes from that project and put it into a new project.
In the new Project I’ve imported the jar file generated from the original, and pasted the jsp code into a new JSP document.
I’m getting “The import XX could not be resolved errors”.
Anyone one have any idea how to diagnose this, everything seems to be in order.
I have an issue like this once in awhile. Try removing the JAR, rebuilding, and adding the JAR again. This should fix it.
It’s an Eclipse bug.
Edit: The above answer is assuming the jar is actually on the build path.