Cannot create JDBC driver of class '' for connect URL 'null'
求救!
求救!
解决方案 »
- 新浪微博中的@,在数据库中表现形式!
- 请教spring中声明两个singleton的bean指向同一class
- struts2新手求助,使用myeclipse8.5导入struts2.1后使用标签库报错
- java prepareStatement 问题
- 一条hql语句不明白怎么写
- java HashSet
- 谁有java webservice的书籍?
- 一个很简单的问题,各位给看看
- 如何使用HibernateTemplate来执行一条批量处理语句,在线等,急。。。。
- 请教一个Resin数据库连接池的问题
- 输入一个地址,如何获取该地址附近的地图信息?
- 前台js怎么判断action执行完毕,并执行下面的代码
<Resource name="jdbc/mydb"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
testWhileIdle="true"
testOnBorrow="true"
testOnReturn="false"
validationQuery="SELECT 1"
validationInterval="30000"
timeBetweenEvictionRunsMillis="30000"
maxActive="100"
minIdle="10"
maxWait="10000"
initialSize="10"
removeAbandonedTimeout="60"
removeAbandoned="true"
logAbandoned="true"
minEvictableIdleTimeMillis="30000"
jmxEnabled="true"
jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;
org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"
username="root"
password="xxxxxxxx"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/mydb"/>
<resource-ref>
<description>Connection Pool</description>
<res-ref-name>jdbc/mydb</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>