Summary and Solutions of SVN migration from Java Web project under eclipse

Source: Internet
Author: User

Default Eclipse IDE: Eclipse
IDE for Java EE developers

1. First, explain the correct method and use the correct method to export the solution.

1. servers runtime: tomcat6.0 corresponds to dynamic web module version 2.5


2. Build path of the project:

(1) Source-Project compiled path (1, webcontent/WEB-INF/Classes 2, webroot/WEB-INF/classes), generally created by myeclipse project is webroot, the project created by eclipse is webcontent. Pay attention to the path of some configuration files.

2) Libraries: add the servers runtime and use the unified JRE.

3) modify the project code, unified as UTF-8/GBK/gb2312



Ii. FAQs

Move out of the javaweb project under SVN, select Dynamic Web project, select Dynamic according to the project's required servers Runtime
Web module version (which can solve the problem that eclipse cannot be recognized by servers when imported into myeclipse project, corresponding to 3rd items)

1, Servlet reported RED: could not find the corresponding servers Runtime Library (jsp-api.jar, servlet-api.jar)

2. Reference JAR file error: Use the JDK version specified by the project, change the JRE version at compile time; jar package under WEB-INF/lib, add to build path; modify the project code

3. servers cannot load projects: the corresponding project version corresponds to the corresponding running server

4. Failed to run servers. Check application *. XML, struts. XML, log4j. properties, JDBC. propertioes, Oscache. XML. system. XML, memcached. XML, hibernate. cfg. XML ,*. FTL ,*. XML ,*. properties ,*. SQL, view database connections, cache servers, spring configuration files, and so on. troubleshoot memory allocation exceptions during database startup and troubleshoot memory allocation exceptions during program startup.

5. Start in debug mode, Starting sequence of Web. xml and breakpoint tracking

6. Start the invincible mode, Baidu and Google.

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.