1、spring mvc
cvc-complex-type.2.4.c: The matching wildcard is strict, but mvc:default-servlet-handler
取消空行即可
2、org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'span' not found
span注释掉
3、Dynamic Web Module 3.1 requires Java 1.7 or newer.
在pom.xml中增加
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
直接修改.setting中的org.eclipse.wst.common.project.facet.core.xml
4、java版本问题
保证windows->preferences->java->Compiler
windows->preferences->java->Installed Jres
project->preferences->java compiler
project->preferences->project facets->java
保持一致
本文主要介绍了如何解决Spring MVC配置错误、特征未找到等问题,并提供了调整Java版本设置的方法,确保项目能够正确运行。
734

被折叠的 条评论
为什么被折叠?



