当我尝试执行maven命令为我的hibernate模型类生成服务和dao时,我
mvn appfuse:gen -Dentity =“ModelClassName”我正在
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: commons-logging:commons-logging:jar:1.1.1
Reason: Cannot find parent: org.apache.commons:commons-parent for project: commons-logging:commons-logging:jar:1.1.1 for project commons-logging:commons-logging:jar:1.1.1
我无法解决此问题。哪里出错了
答案 0 :(得分:0)
将版本从1.1.1更改为1.1.3
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.3</version>
</dependency>