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.