没有网络的情况下,启动时会
Line 11 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
因为APP配置文件中引用了
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">怎样才能在本地加载这些?这些解释XML的必要文件可以本地加载吗?我工作环境不是个网络资源丰富的地
Line 11 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
因为APP配置文件中引用了
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">怎样才能在本地加载这些?这些解释XML的必要文件可以本地加载吗?我工作环境不是个网络资源丰富的地
解决方案 »
- java.lang.NullPointerException 这个问题怎么解决
- tomcat6.exe出问题,startup.bat却正常
- 新手请教:在登陆的时候,将使用记录放入session中,使用时修改记录
- hibernate 查询的时候,list 总获取不到值,怎么了?
- XP+Tomcat+MySQL5+JSP:页面连接数据库成功,select成功,但insert数据出错,请高手指导
- RMI编译与运行……第一次发贴,请各位大牛多多关照
- 如何把数据库中存储的byte[]型xml文件数据按原来的格式显示在jsp/html页面中
- JSP中<%=sFileName %>问题,请大人帮忙
- 如何在网页中嵌入word
- 报错Mapped Statements collection does not contain value for ...
- response.sendRedirect到ftp上一个文件的中文问题
- tomcat 启动不了
主要就是SPRING的那个配置文件中引用了。烦的我头发都白了,求解
我试试,估计悬