Yep. It was the JDBC driver.
Thanks Adrian.
Duke
I seem to remember getting this exception when I hadn't installed my JDBC driver in the right place.
Since you don't actually provide the container you are using, nor what database you are trying to use, it's hard to tell you how to fix it. However, in general
1) Make sure you have the right JDBC driver for your database
2) Make sure you have placed the JDBC driver somewhere that your servlet container can find it
-Adrian
From: Duke Tantiprasut [mailto:duketantiprasut@gmail.com]
Sent: Friday, June 02, 2006 4:51 PM
To: xwiki-users@objectweb.org
Subject: [xwiki-users] startup exception
I'm getting the following exception. Any suggestion what I should be looking at:
2006-06-02 15:43:23 StandardWrapperValve[action]: Servlet.service() for servlet
action threw exception
java.lang.NoSuchMethodError : org.apache.commons.dbcp.BasicDataSourceFactory.crea
teDataSource(Ljava/util/Properties;)Ljavax/sql/DataSource;
at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionPr
ovider.java:174)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvi
der(ConnectionProviderFactory.java:80)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFa
ctory.java:349)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
58)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509
)
at org.hibernate.cfg.Configuration.buildSessionFactory (Configuration.jav
...
Thanks
Duke
--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto: xwiki-users-unsubscribe@objectweb.org
For general help: mailto: sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws