Hi,
I am getting the following error while loading struts-config.xml
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://114.9.172.44/call_shark' in struts-config.xml
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource>
<set-property property="driverClass" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://114.9.172.44/call_shark"/>
<set-property property="user" value="root"/>
<set-property property="password" value="root"/>
</data-source>
<data-sources> I am sure that url is correct. because i have tried this url with
java program. it was working fine in java. but when we use this in data-source attribute in struts-config.xml , it is giving the above error.
Does anyone say why it is happening?
Thanks
ArulrajHi,
I am getting the following error while loading struts-config.xml
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://114.9.172.44/call_shark' in struts-config.xml
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource>
<set-property property="driverClass" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://114.9.172.44/call_shark"/>
<set-property property="user" value="root"/>
<set-property property="password" value="root"/>
</data-source>
<data-sources> I am sure that url is correct. because i have tried this url with java program. it was working fine in java. but when we use this in data-source attribute in struts-config.xml , it is giving the above error.
Does anyone say why it is happening?
Thanks
Arulraj