MyEclipse cannot recompile the Web. classpath File Modification

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.