Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.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
Hibernate MVC中消除编译时错误的问题_Hibernate_Spring Mvc_Compiler Errors - Fatal编程技术网

Hibernate MVC中消除编译时错误的问题

Hibernate MVC中消除编译时错误的问题,hibernate,spring-mvc,compiler-errors,Hibernate,Spring Mvc,Compiler Errors,我是一名springs编程新手,刚刚阅读完springs mvc 3.0概念。我尝试在springs中编写我的第一个代码,但在删除编译时错误方面遇到了问题。错误显示在下面几行 import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.propertyeditors.CustomDateEditor; import org.springframework.stere

我是一名springs编程新手,刚刚阅读完springs mvc 3.0概念。我尝试在springs中编写我的第一个代码,但在删除编译时错误方面遇到了问题。错误显示在下面几行

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.propertyeditors.CustomDateEditor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.support.SessionStatus;
显示的错误是

The import org.springframework.beans.factory.annotation.Autowired cannot be resolved
对于其他
导入
我认为我的文件放置是正确的

所有jar文件都被放置为


我无法思考这个问题

如果您想在spring中编写一些应用程序并了解其工作原理,您可以下载spring工具套件并遵循本教程:
注1:如果您使用的是Linux系统,您应该org.spring.framework.xxx-Sources jars

注2:如果您使用的是Windows系统,则应使用org.spring.framework.xxx-Releases jars

希望这对你有帮助

有关注意事项,您可以参考: