Java 警告:org.springframework.web.servlet.PageNotFound-在名为'的DispatcherServlet中找不到URI为[/board/]的HTTP请求的映射;appServlet';

Java 警告:org.springframework.web.servlet.PageNotFound-在名为'的DispatcherServlet中找不到URI为[/board/]的HTTP请求的映射;appServlet';,java,spring,spring-mvc,servlets,Java,Spring,Spring Mvc,Servlets,我试图制作一个简单的BBS,但我遇到了以下错误: 警告:org.springframework.web.servlet.PageNotFound-未找到映射 用于名为的DispatcherServlet中URI为[/board/]的HTTP请求 “appServlet” 我曾多次尝试解决这个错误,但都失败了。如何解决此错误 这是我的web.xml、控制器和servlet上下文 my web.xml 编码滤波器 org.springframework.web.filter.CharacterE

我试图制作一个简单的BBS,但我遇到了以下错误:

警告:org.springframework.web.servlet.PageNotFound-未找到映射 用于名为的DispatcherServlet中URI为[/board/]的HTTP请求 “appServlet”

我曾多次尝试解决这个错误,但都失败了。如何解决此错误

这是我的web.xml、控制器和servlet上下文

my web.xml


编码滤波器
org.springframework.web.filter.CharacterEncodingFilter
编码
EUC-KR
编码滤波器
/*
org.springframework.web.context.ContextLoaderListener
上下文配置位置
/WEB-INF/spring/root-context.xml
/WEB-INF/spring/appServlet/servlet-context.xml
appServlet
org.springframework.web.servlet.DispatcherServlet
上下文配置位置
/WEB-INF/spring/appServlet/servlet-context.xml
1.
appServlet
/
尝试将web.xml文件中的
更改为:

<url-pattern>/*</url-pattern>
/*
您如何部署此应用程序?作为
board.war


另外,让您知道,这是配置SpringMVC应用程序的一种非常古老的方法。Spring提供了一些演示现代方法的工具。

代码中似乎缺少以下项目:

1.
servlet context.xml
中,添加

<context:component-scan base-package="com.onj" />
<mvc:annotation-driven />
请求映射到
list()
方法:

@RequestMapping(value="/board", method = RequestMethod.GET)
public ModelAndView list(HttpServletRequest request,
            HttpServletResponse response) throws Exception {

感谢您的建议,我正在eclipse上以java的形式部署这个应用程序,我不知道这是一种非常古老的方式。
@Controller
public class BoardMultiController extends MultiActionController {
@RequestMapping(value="/board", method = RequestMethod.GET)
public ModelAndView list(HttpServletRequest request,
            HttpServletResponse response) throws Exception {