我们正在从Jboss4.2迁移到Jboss7.1.1。我们在Web应用程序中使用Spring 2.5。在开始我们的应用程序时,我们正在得到一个像 [org.springframework.web.servlet.PageNotFound](http - 0.0.0.0-8080-1)在DispatcherServlet中找不到带有URI [/jshome.htm]的HTTP请求的映射,名称为“plaksa”。
我们的application-servlet.xml包含以下代码
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd
http://www.directwebremoting.org/schema/spring-dwr-annotations
http://www.directwebremoting.org/schema/spring-dwr-annotations.xsd">
<!--
- The controllers are autodetected POJOs labeled with the @Controller
annotation.
-->
<context:component-scan base-package="com.bodhtree.nexus.controller"/>
<context:annotation-config />
<!-- <context:include-filter type="annotation"
expression="com.bodhtree.nexus.core.system.annotation.SpringBean" />
</context:component-scan> -->
<bean id="helloWorld" class="com.bodhtree.nexus.view.HelloWorld">
<property name="cacheSeconds" value="120" />
</bean>