Eclipse presses crl+ left mouse button, cannot find the solution of source file.

Source: Internet
Author: User

This situation typically occurs in tomcat because of a lack of source files for the class. It is rare in JDK that the source files from the JDK are loaded into the JDK when they are configured. And Tomcat does not have the class source files, you need to go to the Internet to download separately. So after clicking on the display, such as: Cannot find the source file

1. The solution is to download the Tomcat source file on the Internet and click "Change attached source ..." To find the path to source, as shown in:

2. Select "External Location", click on the Red box "External file" to find the path of the source file you just downloaded, click "Open" to add the src file, such as:

3, the source file path has been found, click on the "OK" can be the class file normal display

Eclipse presses crl+ left mouse button, cannot find the solution of source file.

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.