无法找到jdbc oracle,有关JBPM3配置时一个无法找到ORACLE JDBC DRIVER的异常,请高手进来帮忙一下!...

我在ECLIPSE里面对org.jbpm.db.DbTests.java用JUNIT进行DEBUG时,输出信息如下:

12:09:18,125 DEBUG JbpmConfiguration : jbpm.create.tables=only-if-not-present

12:09:18,140 DEBUG JbpmConfiguration : hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver

12:09:18,140 DEBUG JbpmConfiguration : jbpm.task.instance.class=org.jbpm.taskmgmt.exe.TaskInstance

12:09:18,140 DEBUG JbpmConfiguration : hibernate.dialect=net.sf.hibernate.dialect.Oracle9Dialect

12:09:18,140 DEBUG JbpmConfiguration : jbpm.id.generator=default

12:09:18,140 DEBUG JbpmConfiguration : hibernate.query.substitutions=true 1, false 0

12:09:18,140 DEBUG JbpmConfiguration : hibernate.connection.username=JBPM

12:09:18,140 DEBUG JbpmConfiguration : jbpm.create.tables.log=false

12:09:18,140 DEBUG JbpmConfiguration : hibernate.connection.url=jdbc:oracle:thin:@127.0.0.1:1521:ORCL

12:09:18,140 DEBUG JbpmConfiguration : jbpm.scheduler.service.factory=org.jbpm.scheduler.impl.SchedulerServiceImpl

12:09:18,140 DEBUG JbpmConfiguration : hibernate.show_sql=true

12:09:18,140 DEBUG JbpmConfiguration : hibernate.connection.password=JBPM

12:09:18,140 DEBUG JbpmConfiguration : jbpm.file.mgr=database

12:09:18,421 DEBUG JbpmSessionFactory : using the default hibernate configuration file: hibernate.cfg.xml

12:09:21,921 DEBUG AbstractDbTestCase : creating the default jbpm database schema...

12:09:22,125 FATAL C3P0ConnectionProvider : JDBC Driver class not found: oracle.jdbc.driver.OracleDriver

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)

at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:65)

at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)

at org.jbpm.db.JbpmSchema.createConnection(JbpmSchema.java:251)

at org.jbpm.db.JbpmSchema.execute(JbpmSchema.java:216)

at org.jbpm.db.JbpmSchema.createSchema(JbpmSchema.java:150)

at org.jbpm.db.AbstractDbTestCase.getJbpmSessionFactory(AbstractDbTestCase.java:28)

at org.jbpm.db.AbstractDbTestCase.beginSessionTransaction(AbstractDbTestCase.java:79)

at org.jbpm.db.AbstractDbTestCase.setUp(AbstractDbTestCase.java:70)

at junit.framework.TestCase.runBare(TestCase.java:125)

at junit.framework.TestResult$1.protect(TestResult.java:106)

at junit.framework.TestResult.runProtected(TestResult.java:124)

at junit.framework.TestResult.run(TestResult.java:109)

at junit.framework.TestCase.run(TestCase.java:118)

at junit.framework.TestSuite.runTest(TestSuite.java:208)

at junit.framework.TestSuite.run(TestSuite.java:203)

at junit.framework.TestSuite.runTest(TestSuite.java:208)

at junit.framework.TestSuite.run(TestSuite.java:203)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)

它提示无法找到JDBC Driver class not found: oracle.jdbc.driver.OracleDriver

我已经在C:\jbpm.3\lib\目录下新建了oracle目录,并且已经把classes12.jar文件放到里面了。不过我不清楚JbpmSessionFactory.java是如何找到这些jar文件的。

我的c:\jbpm.3\src\org\jbpm\目录下的jbpm.properties文件内容如下:

jbpm.scheduler.service.factory=org.jbpm.scheduler.impl.SchedulerServiceImpl

jbpm.task.instance.class=org.jbpm.taskmgmt.exe.TaskInstance

# uncomment the next line to use the file system instead of the database for

# storing files related to a process definition

# jbpm.files.dir=c:/jbpm.data

# resource path to a properties file that will overwrite all the hibernate

# properties. For database specific builds in db project there is a different

# hibernate.properties file on the classpath for each database. You could change

# the default database for any testing runs by uncommenting the next line and

# adding a hibernate.properties file in the basedir.

#jbpm.hibernate.properties=hibernate.properties

#jbpm.hibernate.cfg.xml=c:/jbpm.3/src/resources/hibernate.cfg.xml

hibernate.dialect=net.sf.hibernate.dialect.Oracle9Dialect

hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver

hibernate.connection.url=jdbc:oracle:thin:@127.0.0.1:1521:ORCL

hibernate.connection.username=JBPM

hibernate.connection.password=JBPM

jbpm.create.tables=only-if-not-present

jbpm.create.tables.log=false

jbpm.file.mgr=database

jbpm.id.generator=default

hibernate.show_sql=true

hibernate.query.substitutions=true 1, false 0

请高手帮帮我吧,我急死了!

购物商城项目采用PHP+mysql有以及html+css jq以及layer.js datatables bootstorap等插件等开发,采用了MVC模式,建立一个完善的电商系统,通过不同用户的不同需求,进行相应的调配和处理,提高对购买用户进行配置….zip项目工程资源经过严格测试可直接运行成功且功能正常的情况才上传,可轻松复刻,拿到资料包后可轻松复现出一样的项目,本人系统开发经验充足(全领域),有任何使用问题欢迎随与我联系,我会及为您解惑,提供帮助。 【资源内容】:包含完整源码+工程文件+说明(如有)等。答辩评审平均分达到96分,放心下载使用!可轻松复现,设计报告也可借鉴此项目,该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的。 【提供帮助】:有任何使用问题欢迎随与我联系,我会及解答解惑,提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 【项目价值】:可用在相关项目设计中,皆可应用在项目、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面,可借鉴此优质项目实现复刻,设计报告也可借鉴此项目,也可基于此项目来扩展开发出更多功能 下载后首先打开README文件(如有),项目工程可直接复现复刻,如果基础还行,也可在此程序基础上进行修改,以实现其它功能。供开源学习/技术交流/学习参考,勿用于商业用途。质量优质,放心下载使用。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值