现在在用websphere服务器,在服务器启动时spring的配置文件中会报一个异常,nested exception is org.xml.sax.SAXParseException: cvc-elt.1:找不到元素“beans”的声明。”
spring配置文件 引入DTD这种方式在websphere 6.1 下不成功,必须改成 使用schema这种方式。
DTD:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans default-autowire="byName">
SCHEMA:
<?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/beanshttp://www.springframework.org/schema/beans/spring-beans-2.0.xsd"
default-autowire="byName">
default-autowire="byName">
分享到:
相关推荐
WEBSHPERE文档
webshpere7.0.0.0 部署手册,手把手教会你怎么部署webshpere
webshpere application server 安装与调优
详细介绍的了webshpere的一些基本配置,对于不熟悉的人将很有帮助。
WebShpere MQ 配置与测试 WebShpere MQ 配置与测试
webshpere6.1安装配置相关webshpere6.1安装配置相关
webshpere配置JMS webshpere配置JMS webshpere配置JMS
websphere的安装需求和安装要求,以及在不同的操作的系统的安装,和注意事项等等
WebShpere_common_log_docview
webshpere mq 7 详细教程,包含mq基本原理以及c++,java……调用mq的实例
使用eclipse + myeclipse + webshpere 开发网站
DB2 jar Webshpere jar 放服务器上的jar
WebShpere MQ配置与测试.doc
Webshpere配置JNDI数据源[归纳].pdf
webshpere6.1安装及打补丁,一步一个操作,详细讲解。
IBM WebSphere portal升级
对websphere的垃圾回收日志进行分析,知道内存的使用情况。
这是一个非常专业,而且有针对性的视频教程,是一线经验丰富的教师的录频教程
NULL 博文链接:https://214liu.iteye.com/blog/510365
EQL官方讲解