This problem has plagued me for a long time, that is, when you copy from another workspace to another workspace, and then in the import into the myeclipse will appear no matter how you change the code, after the completion of the Webroot directory in the classes of things will not change.
Http://www.blogjava.net/xcp/archive/2010/09/01/330604.html
The solution I will not repeat, say something more detailed:
First, when we import the jar of this package, Propertity->java build Path->libraries->add external jar, then in the. classpath file
<classpathentry kind= "Lib" path= "/strutslibrarysystem/webroot/web-inf/lib/antlr-2.7.2.jar"/>
The path path in the will be found at this point, and will not compile if it is not found. This classpathenty was actually added when you executed the Propertity->java build Path->libraries->add external jar. So when you're done, I actually think this thing is useless.
At this point there are two ways to solve this problem, one is that you copy paths in path, the other is directly to the. class file of these guiding things deleted.
MyEclipse cannot recompile the Web. classpath File Modification