0

当我尝试执行 maven 命令为我的休眠模型类生成服务和 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

我无法解决这个问题。哪里出了问题

4

1 回答 1

0

将版本从 1.1.1 更改为 1.1.3

    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.1.3</version>
    </dependency>
于 2013-09-17T13:32:36.377 回答