Maven操作
name:the central repository
url:http://search.maven.org
搜索你要导入的框架:
向pom.xml文件中添加:
<dependencies>
<
dependency
>
<
groupId
>org.apache.struts</
groupId
>
<
artifactId
>struts2-apps</
artifactId
>
<
version
>2.3.24.1</
version
>
</
dependency
>
</dependencies>
Maven向工程中自动引入相关jar包
源代码文件保存路径:
/scr/main/webapp