为了账号安全,请及时绑定邮箱和手机立即绑定

Class not found cn.muke.spring.demo1.SpringDemo1 java.lang.ClassNotFoundException: cn.muke.spring.demo1.SpringDemo1

Class not found cn.muke.spring.demo1.SpringDemo1

java.lang.ClassNotFoundException: cn.muke.spring.demo1.SpringDemo1

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

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

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

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

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:773)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:502)

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

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

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

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


正在回答

1 回答

这是由于缺少jar包导致的,c3p0连接池不仅需要c3p0的jar包,还需要mcommons的jar包,两个jar包下载地址如下:

c3p0:https://www.mvnjar.com/com.mchange/c3p0/0.9.5.1/detail.html
mchange-commons:https://www.mvnjar.com/com.mchange/mchange-commons-java/0.2.16/detail.html

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Class not found cn.muke.spring.demo1.SpringDemo1 java.lang.ClassNotFoundException: cn.muke.spring.demo1.SpringDemo1

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信