部署问题
hxmc
2007-04-25
请问大家,我写个简单例子用插件部署可以,可我不用插件部署就总报如下错,顺便问大家,你们都用插件开发吗:
org.hibernate.HibernateException: Could not find datasource at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152) at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90) at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74) at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78) at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:227) at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:537) at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) at com.sample.SimpleProcessTest.testSimpleProcess(SimpleProcessTest.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
hxmc
2007-04-25
已解决
|