1创建maven项目
2pom.xml有红色错误,生成web目录
3修改pom.xml配置
<?xml version="1.0" encoding="UTF-8"?><project xmlns="/POM/4.0.0"xmlns:xsi="/2001/XMLSchema-instance"xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><groupId>com.geyao</groupId><artifactId>spring02geyao</artifactId><version>1.0-SNAPSHOT</version><dependencies><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId><version>4.3.13.RELEASE</version></dependency></dependencies></project>
如果觉得《spring mvc学习(11):eclipse的环境maven项目创建前期工作》对你有帮助,请点赞、收藏,并留下你的观点哦!