Metrics
0
Watch 2.6k Star 5.2k Fork 2.6k

ThinkGem / JeeSite 4.xJavaAGPL-3.0

执行 init-data.bat 这个时候出现问题

Open
鸿梦星辰  Created at

该问题是怎么引起的?

本地运行
环境准备:JDK 1.8、Maven 3.3、MySQL 5.7
下载源码:https://gitee.com/thinkgem/jeesite4/attach_files
打开文件:/web/src/main/resources/config/application.yml 配置JDBC连接
执行脚本:/web/bin/init-data.bat 初始化数据库
执行脚本:/web/bin/run-tomcat.bat 启动服务即可

执行 init-data.bat 这个时候出现问题。

unknown-version

重现步骤

执行 init-data.bat

报错信息

请按任意键继续. . .

[信息] 您真的确认继续吗?否则请关闭窗口。(1)

请按任意键继续. . .

[INFO] Scanning for projects...
Downloading from nexus: https://maven.aliyun.com/repository/public/com/jeesite/jeesite-parent/4.1.1-SNAPSHOT/maven-metadata.xml
Downloading from nexus: https://maven.aliyun.com/repository/public/com/jeesite/jeesite-parent/4.1.1-SNAPSHOT/jeesite-parent-4.1.1-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.jeesite:jeesite-web:[unknown-version]: Could not find artifact com.jeesite:jeesite-parent:pom:4.1.1-SNAPSHOT in nexus (https://maven.aliyun.com/repository/public/) and 'parent.relativePath' points at wrong local POM @ line 6, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.jeesite:jeesite-web:[unknown-version] (E:\abc\web\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.jeesite:jeesite-web:[unknown-version]: Could not find artifact com.jeesite:jeesite-parent:pom:4.1.1-SNAPSHOT in nexus (https://maven.aliyun.com/repository/public/) and 'parent.relativePath' points at wrong local POM @ line 6, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
请按任意键继续. . .

total 2 participants

Comments (1)

桥天涯 2019-05-13 09:33

看信息

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.jeesite:jeesite-web:[unknown-version]: Could not find artifact com.jeesite:jeesite-parent:pom: **4.1.1-SNAPSHOT**  in nexus (https://maven.aliyun.com/repository/public/) and 'parent.relativePath' points at wrong local POM @ line 6, column 10
@

建议:
1、zip源码下载: https://gitee.com/thinkgem/jeesite4.git
使用最新的稳定版 4.1.4(即 master 版)
2、下载后 parent、root 等文件夹与 web 文件夹并列
3、将 web 文件夹导入工程(可先改名)
4、按教程修改 pom.xml 、 application.yml 相关内容

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search