Solution to source not found problem in MyEclipse

Source: Internet
Author: User

Source not found appears in MyEclipse because the Java EE Generic Library you are referencing has no associated source code, such as:

Here's a solution to the problem:

Step one: To download apache-tomcat-7.0.57-src.zip source files, Baidu or go to apache-tomcat official website to download

Step two: The source code is associated. There are two ways of doing this:

  Method 1: You can click Attach source directly on the source not found page, select the source file that you downloaded in step one, OK. Such as:

 Method 2: Click the right mouse button in project engineering, select Properties ..., select Java Build Path->libraries in the Pop-up dialog box, select the source attachment below the package that needs to be added. In the pop-up dialog box, select the appropriate source code file (clip) by the top way, and then OK. :

Solution to source not found problem in MyEclipse

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.