idea创建SpringMVC项目

打开创建项目,然后选择maven web-app       在pom.xml里面 添加相应的依赖!! 因为你是用了maven 所以 千万不要直接用lib 然后把依赖包拷贝进去,用maven编译会报错的 <dependencies> <!--测试--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <ver
相关文章
相关标签/搜索