导入项目错误
JC-jian 发布于21月前 10答/718阅

我的原始需求是:


实现过程中遇到的问题:

请问是什么原因呢

我觉得这个问题的原因是:



[沙发] 扫地僧
@JC-jian 也有可能是maven打包的问题  你把项目里的maven相关的版本号 换成对应你当前maven环境的版本试试
最佳
[地板] 扫地僧
@JC-jian 请问怎么导入的  哪个版本 ?
[地毯] JC-jian
@扫地僧 
http://doc.eova.cn/001/1-1.html 照着这个来做的
我的JDK:
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T0
Maven home: F:\jian\data\java\develop\Maven\apache-maven-3.6.1\bin\..
Java version: 1.7.0_80, vendor: Oracle Corporation, runtime: F:\jian\data\
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"


我的maven:
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T0
Maven home: F:\jian\data\java\develop\Maven\apache-maven-3.6.1\bin\..
Java version: 1.7.0_80, vendor: Oracle Corporation, runtime: F:\jian\data\
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"

【第一次导入尝试】用的是 myeclios10 、eova-eova-V1.6-beta5。这次尝试导入过程是没有问题的。但是运行的时候报了这个错误:
WARN]FAILED jfinal: java.lang.IllegalArgumentException: baseUploadPath can not be blank.
java.lang.IllegalArgumentException: baseUploadPath can not be blank.

论坛的回复建议我用 1.6.0的版本比较稳定,我就删掉原来部署好的文件和“ repo\localRepository”里面下载好的内容

重新导入1.6.0就出现该问题的错误,我换 eclipse mars导入,也是同样的问题

[4楼] 扫地僧
@JC-jian 感觉应该是哪里没配置好  你先对着文档 在检查下 http://doc.eova.cn/001/1-1.html
http://doc.eova.cn
[5楼] JC-jian
@扫地僧  重做了几次还是一样。。。
leailure to transfer org.eclipse.jetty:jetty-util:jar:8.1.8.v20121106 from http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced. Original error: Could not transfer artifact org.eclipse.jetty:jetty-util:jar:8.1.8.v20121106 from/to ali-maven (http://maven.aliyun.com/nexus/content/groups/public): Connect times out

org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.eclipse.jetty:jetty-util:jar:8.1.8.v20121106 from http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced. Original error: Could not transfer artifact org.eclipse.jetty:jetty-util:jar:8.1.8.v20121106 from/to ali-maven (http://maven.aliyun.com/nexus/content/groups/public): Connect times out
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238)
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585)
[6楼] JC-jian
@扫地僧 好的 那我再试试谢谢
[7楼] JC-jian
@扫地僧 ,请问运行的时候报这个错误知道是什么原因呢?  
07-09 17:29:19[WARN]FAILED jfinal: java.lang.IllegalArgumentException: baseUploadPath can not be blank.
java.lang.IllegalArgumentException: baseUploadPath can not be blank.
[8楼] 扫地僧
@JC-jian  配置文件里面static_root有设置吗
[9楼] JC-jian
@扫地僧 
有设置的,请问我以下设置是否有误呢?
#静态根目录
static_root = F:\jian\data\java\eova\static

#上传临时目录
eova_upload_temp = /temp

#编辑器图片
dir_editor = /editor



然后在 F:\jian\data\java\eova\static 创建了该文件夹,并创建了temp editor两个子目录
[10楼] JC-jian
@扫地僧 可能是我的ID和密钥的问题,  我重新更新了ID和密钥,重新导入项目之后就启动成功了
提交评论
嘿,我来帮你!