Move ssh / ssm project from eclipse to idea

A. Pull project from svn
wait for the bottom right of the progress bar has completed, the directory structure is now such a
Insert picture description here
two modify the configuration

  1. Change the database configuration
    shift shift to find jdbc, change the database connection configuration
    Insert picture description here

Go after changing ip, port, database name, username and password
2. jdk configuration change, because the general ssh are older versions of the jdk, to be replaced relatively versions, and if the same idea of jdk project, do not modify
Insert picture description hereInsert picture description here3. change Change the module.
WEB
Insert picture description here
above to the web.xml path, and the following to the webapp path.
Insert picture description here
Add
Insert picture description here
Insert picture description here
Hibernate to find the hibernate xml file.
Insert picture description here
Add SPRING
Insert picture description here
Insert picture description here
Insert picture description here
3. Add lib
4 Insert picture description here
5. Insert picture description here
6. Then go to the tomcat root directory and look for lib. Do not choose the 4 at the beginning of c
7. Insert picture description here
8… Change Artifacts
9. Insert picture description here
10. After selecting ok, just
configure tomcat
Insert picture description here
Insert picture description here
Insert picture description here
and then you can run!

Encountered an exception, the comment of the comment!

Frequently Asked Questions
Note that the jdk version and the following corresponding to it should also be modified

Running error:
Insert picture description here

Published 6 original articles · received 1 · views 383

Guess you like

Origin blog.csdn.net/qq_42857963/article/details/105468031