Idea struts2+hibernate+spring5 framework integration

After learning struts2+hibernate+spring5, I feel confused. When I create this kind of project again, I don’t know how to start, so I write an article to sort out my ideas.

1. First download the related jar package of struts2 hibernate spring5.

2. Then idea creates a project

file->new->project

 2. jStruts2 jar package import (hibernate is the same)

java-Enterprise->struts2->use library->creat... Select the corresponding jar package from the pop-up check box

 Then next fill in the project name

3. Import the jar package of spring5

file->project Structure->modules->'+'->Spring ->fix->use library ->create ->select the corresponding jar package->ok->apply->ok

 

 

4. To clear the warning import the package

artifacts->fix->add Spring... (the meaning of importing the spring package, struts2 hibernate is the same)

 

 

Guess you like

Origin blog.csdn.net/m0_62055572/article/details/130706264