Spring课程工程构建
Spring课程工程构建
- 在IDEA 工作空间里面创建Spring文件夹。
- 打开IDEA,file–>Open–>选择刚才创建的Spring文件夹
- 右击Spring项目,new–>module–>maven
点击next,然后在GroupId中输入com.itheima
;在ArtifactId输入itheima_spring_aop
.
点击创建好的itheima_spring_aop项目,然后选择File,然后再选择Project Structure
接下来需要选中我们所创建的Spring文件夹中的itheima_spring_aop项目文件
然后选择Facets,点击 + 号,选择Web项目
然后选择itheima_spring_aop项目文件
按照下面的步骤对路径进行修改,在我们创建的itheima_spring_aop后面添加\src\main\webapp
接下来,我们需要再创建一个ithema_spring_ioc项目文件,创建步骤和上面创建itheima_spring_aop项目文件差不多
选中itheima_spring_ioc项目,点击file,然后选中Project Structure…
然后选中我们需要修改路径的项目文件
按照下面的步骤对路径进行修改,在我们创建的itheima_spring_ioc后面添加\src\main\webapp