Java 在Oracle 12 C上部署war时出现Spring异常

Java 在Oracle 12 C上部署war时出现Spring异常,java,spring,dwr,Java,Spring,Dwr,我正在Oracle 12 C上部署我的应用程序。但我遇到以下异常: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.directwebremoting.org/schema/spring-dwr] Offending resource

我正在Oracle 12 C上部署我的应用程序。但我遇到以下异常:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.directwebremoting.org/schema/spring-dwr]
Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]
以下是applicationcontext.xml文件的内容:

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
       http://www.directwebremoting.org/schema/spring-dwr
       http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">

同样的配置在Oracle 10.3上运行,但在12 C中出现异常。请提供帮助。

检查类路径中是否有dwr jar。我想这只是jar的问题,因为配置看起来不错。

类路径中有spring集成jar吗?尝试从xsd名称中删除版本号。我想dwr.jar丢失了。版本2.xYes..我已经将dwr jar文件放在WEB-INF/lib文件夹中。但问题仍然存在。确定后,在isee中使用enter而不是空格。你能用空格和>替换回车吗?我仍然面临同样的问题。那可能是类加载问题。我对weblogic的了解有限,但您可以参考查看是否正在加载dwr类。可能您可以尝试从lib中删除dwr.jar或分解jar以查看META-INF文件中是否有条目