I built project to exe file, when i run exe file it has error:
java.lang.ClassNotFoundException: org.apache.commons.configuration.PropertiesConfiguration.
Could you tell me why?
Thanks.
Your commons-configuration jar file missed in your classpath. Please make sure required jar is in classpath and redeploy again.
您是否将必需的lib包含到exe文件中?
Try the following:
cmd.exe
) run: set CLASSPATH=%CLASSPATH%;<path to libraries folder>
hth
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.