JXL解析报错
@echo off
java -Xms512m -Xmx1024m -cp .;lib/classes12.jar;lib/dom4j.jar;lib/log4j-1.2.8.jar;lib/IntegralBalanceToDB.jar com.huawei.guo.process.ExcelToDB
pause
目录为------IntegralBalanceToDB--------execute.bat
|----------lib
| |-----------IntegralBalanceToDB.jar
运行execute.bat产生
Exception in thread "main" java.lang.NoClassDefFoundError: jxl/read/biff/BiffExc
eption
Caused by: java.lang.ClassNotFoundException: jxl.read.biff.BiffException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.huawei.guo.process.ExcelToDB. Program will e
xit.
请教高手
细心一点
[解决办法]
自己找错误就是好
[解决办法]
楼主自问自答。。。