这是本人刚发生并解决了的错误,留此印记,以方便后者错误信息如下:
警告:No rules found matching 'Server/Service/Engine/Host/Context/ResourcePara ms/parameter'这是数据源配置格式的错误,
Tomcat 6的数据源配置信息,是在conf/context.xml 中添加,一般直接添加到Context标签结束的前面
基本格式如下:
<Resource
name="jdbc/ridedspool"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@wangcy-PC:1521:orcl"
username="ridekf"
password="ridekf"
maxActive="30"
maxIdle="100"
maxWait="300"
removeAbandoned="true"
logAbandoned="true"/>
警告:No rules found matching 'Server/Service/Engine/Host/Context/ResourcePara ms/parameter'这是数据源配置格式的错误,
Tomcat 6的数据源配置信息,是在conf/context.xml 中添加,一般直接添加到Context标签结束的前面
基本格式如下:
<Resource
name="jdbc/ridedspool"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@wangcy-PC:1521:orcl"
username="ridekf"
password="ridekf"
maxActive="30"
maxIdle="100"
maxWait="300"
removeAbandoned="true"
logAbandoned="true"/>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货