我開始向你提供骨骼cp。 到目前爲止,下面是我已經做了我的CentOS 6 下面是我已經把我的檔案在我的CentOS 6需要對BoneCP進行確認
/usr/java/jdk1.7.0_03/jre/lib/ext/bonecp-0.7.1.RELEASE.jar
/usr/java/jdk1.7.0_03/jre/lib/ext/guava-11.0.2.jar
/usr/java/jdk1.7.0_03/jre/lib/ext/slf4j-1.6.4 (the whole folder I just put here).
下面是我現在得到了錯誤。
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at com.jolbox.bonecp.BoneCPConfig.<clinit>(BoneCPConfig.java:60)
at commServer.<init>(cServer.java:6594)
at commServer.main(cServer.java:6579)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
添加您的錯誤信息是...? – wwadge 2012-04-05 13:11:32