Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
创建spring mvc项目时出错-无法解析类型org.springframework.web.servlet.HandlerExceptionResolver_Spring_Spring Mvc - Fatal编程技术网

创建spring mvc项目时出错-无法解析类型org.springframework.web.servlet.HandlerExceptionResolver

创建spring mvc项目时出错-无法解析类型org.springframework.web.servlet.HandlerExceptionResolver,spring,spring-mvc,Spring,Spring Mvc,我正试图用Spring工具套件创建第一个Spring MVC项目,作为Spring MVC初学者指南-第二册中的教程。但是当我创建类WebApplicationContextConfig并保存时,它会通知一个错误“类型org.springframework.web.servlet.HandlerExceptionResolver无法解析。它是从必需的.class文件间接引用的”。如何修复此错误?听起来您的pom.xml中缺少一些依赖项,这使得Spring无法找到运行应用程序所需的所有类。你能在这

我正试图用Spring工具套件创建第一个Spring MVC项目,作为Spring MVC初学者指南-第二册中的教程。但是当我创建类WebApplicationContextConfig并保存时,它会通知一个错误“类型org.springframework.web.servlet.HandlerExceptionResolver无法解析。它是从必需的.class文件间接引用的”。如何修复此错误?

听起来您的pom.xml中缺少一些依赖项,这使得Spring无法找到运行应用程序所需的所有类。你能在这里分享吗