Spring 无法在开发模式下运行GWT。找不到元素';aop:作用域代理';?

Spring 无法在开发模式下运行GWT。找不到元素';aop:作用域代理';?,spring,gwt,Spring,Gwt,GWT、Spring、Maven和Eclipse的表现并不好。我正试图以开发模式在本地机器上运行(一个相当大的)项目。我能够成功地构建应用程序,但无法在Eclipse中运行它。使用mvn gwt:run从命令行运行时,生产模式工作 我已经将其缩小到xsd模式的问题。无法在my context.xml文件中解析 我使用的是GWT2.5、Spring3.0.5-RELEASE和Maven 3.0.4。我已经显式地将spring-aop-3.0.5-RELEASE.jar添加到我的类路径中,但仍然没有

GWT、Spring、Maven和Eclipse的表现并不好。我正试图以开发模式在本地机器上运行(一个相当大的)项目。我能够成功地构建应用程序,但无法在Eclipse中运行它。使用
mvn gwt:run
从命令行运行时,生产模式工作

我已经将其缩小到xsd模式的问题。无法在my context.xml文件中解析

我使用的是GWT2.5、Spring3.0.5-RELEASE和Maven 3.0.4。我已经显式地将spring-aop-3.0.5-RELEASE.jar添加到我的类路径中,但仍然没有成功

appContext.xml的顶部 日志文件
[main]WARN factory.xml.XmlBeanDefinitionReader-忽略xml验证警告
org.xml.sax.SAXParseException:架构\u引用。4:无法读取架构文档
'http://www.springframework.org/schema/aop/spring-aop-2.0.xsd’,因为1)可以
找不到文件;2) 文件无法读取;3) 根元素
该文件不是。
我认为问题在于:
请尝试:

我能够使用
mvn gwt:run
在开发模式下运行它。我第一次遇到这个问题的时候就差一点了

有一件事我不知道,那就是URL末尾的
?gwt.codesvr=127.0.0.1:9997
的重要性。没有这个GWT DevMode util将无法跟踪用户交互

http://localhost:8888/index.html?gwt.codesvr=127.0.0.1:9997


为了安全起见,我在Eclipse中清理并重建了maven项目。不确定这是否对它有影响。

您是否遵循启动项目的要求?(顺便说一句,
mvn gwt:run
是DevMode,而不是prod模式)感谢Thomas的回复。我应该澄清一下,在将
target/-
移动到www之后,我得到了
mvn gwt:run
来工作,但我认为这是不正确的。我在GWT运行参数中使用带有
-war target/-
的Eclipse设置。如果我不将
target/-
复制到www并运行
mvn GWT:run
我在浏览器中遇到以下错误:“GWT模块‘客户端’可能需要重新编译。”
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd "
       default-init-method="init" default-lazy-init="true">
Nested in org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: 
Line 131 in XML document from class path resource [appContext.xml] is invalid; 
nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: 
The matching wildcard is strict, but no declaration can be found for element 
'aop:scoped-proxy'.:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is 
strict, but no declaration can be found for element 'aop:scoped-proxy'.
[main] WARN factory.xml.XmlBeanDefinitionReader - Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 
'http://www.springframework.org/schema/aop/spring-aop-2.0.xsd', because 1) could 
not find the document; 2) the document could not be read; 3) the root element of 
the document is not <xsd:schema>.