About the issue that eclipse does not compile or *. class cannot be found

Source: Internet
Author: User

Today, I encountered this problem. After a long time, I found some experiences on the Internet, but I still did not solve it.

Well, I don't believe it. I need to reorganize my ideas and work it out step by step.

1. First, I found that in my eclipse --> project --> build automatically is checked. Okay. Remove the preceding check box.

2. After the removal, I will first clean --> clean projects selected below --> select a project --> OK

3. With Step 2, I think this is a success, but after I build all in the project, I still cannot find the *. Class I need.

What can I do,

When I right-click the project and choose Properties> libraries to view n missing and repeated *. Jar files, I can see hope. Just give it a try.

Import the missing jar package, delete the repeated jar package, and repeat the previous steps. OK is all displayed.

Later, it was discovered that the missing *. jar package or the excess *. jar package was involved.

Therefore, it is not necessarily a good thing to do if you have more.

Related Article

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.