启动spring 3.0应用程序

时间:2011-11-12 13:52:21

标签: spring

我在STS上宣布了一个新的春季项目 添加一个新的弹簧配置(它会自动生成):

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">


</beans>

我从STS收到下一条错误消息:

  

处理XML'null'时出错。有关详细信息,请参阅错误日志

我做错了什么?

1 个答案:

答案 0 :(得分:4)

它是一个STS错误。看看

STS-2180
状态:打开解决方案:未解决

修改
Adi Mor 从Spring论坛找到解决方案:需要在eclipse中禁用Cache:

Window -> Preferences -> General -> Network Connections -> Cache -> Disable caching