Tips for using eclipse and tips for using eclipse

Source: Internet
Author: User

Tips for using eclipse and tips for using eclipse

1. There is no SVN version information display in eclipse, and the windows-preference-general-appeerance-label decoration-svn check shows SVN-specific information about the resources controlled by SVN in the project. This information includes the revision.
2. There is no automatic reminder when the method "." is entered in eclipse, and the window-preference-java-editor-content assist-advanced-java Proposals is checked.


3. eclipse cannot load dependencies successfully. If the maven-update project still reports an error, find the dependency where the error is reported, manually delete the location under the m2 file, and download the maven-update project again.
Other external dependencies directly find the JAR package directory
5. In the maven project, the system prompts that slf4j. jar could not be found, but the project shows that an error is returned after deleting the folder where the specific jar package is located. The dependency is downloaded from the central repository.
The actual report of this error must be an Eclipse + tomcat + maven project, which must be a Maven project.
Right-click the project ---> properties
Deployment Assembly set [web Deployment components] -- add -- java Build Path Entries -- Maven Dependencies -- finish -- import and restart
Problem description: You manage jar packages in maven, but when you use tomcat to run the project, the jar packages in the maven local library are not released to the tomcat container. So under the WEB-INF/lib of the release directory of the project, you cannot find the jar package hosted in maven. After setting the Deployment Assembly above, start tomcat and re-enter tmp5 for viewing. The WEB-INF/lib contains 81 jar packages, and these jar packages, except for those 13, the rest are in pom. xml, the jar package hosted in maven, has now been fully released to the tomcat container, so tomcat can be started normally.

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.