导入eova报错信息 :基本上传路径不能为空。
zhouxuechao 发布于80月前 6答/3263阅

严重: Exception starting filter jfinal java.lang.IllegalArgumentException: baseUploadPath can not be blank. at com.jfinal.config.Constants.setBaseUploadPath(Constants.java:264) at com.eova.config.EovaConfig.configConstant(EovaConfig.java:174) at com.jfinal.core.Config.configJFinal(Config.java:50) at com.jfinal.core.JFinal.init(JFinal.java:63) at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
[沙发] Jieven
@zhouxuechao 请保证配置项正常:

domain.config

#静态根目录(且目录正常)
static_root = D:/eova/static
[地板] eova001
static_root = D:/eova/static
我的配置正确,还是报错
[地毯] eova001
@Jieven static_root = D:/eova/static
我的配置正确,还是报错
[4楼] Jieven
@zhouxuechao com.jfinal.config.Constants.setBaseUploadPath(Constants.java:264) 那你就debug 这句源码 看看是为什么报错.
[5楼] JC-jian
@zhouxuechao 请问你解决了么?我也出现这个问题了
[6楼] 原来如此
@zhouxuechao 刚才我也遇到同样的问题,已经完美解决,问题是app.config的配置没读取到,重新打包下,检查default下是否有正确的config文件
提交评论