Wicket Pom文件错误

时间:2014-07-07 23:30:28

标签: maven wicket pom.xml

我正在尝试使用Wicket快速入门。我对maven和pom文件中的大量幕后工作知之甚少。当我运行我的程序时,我得到了:

7/7/14 6:19:41 PM CDT:缺少工件org.apache.wicket:wicket:pom:6.15.0:compile 7月7日下午6:19:41 CDT:缺少工件org.slf4j:slf4j-api:jar:1.6.4:compile

我不确定这意味着什么,或者如何解决这个问题。以下是与错误相关的区域片段:

<properties>
    <wicket.version>6.15.0</wicket.version>
    <jetty.version>7.4.0.v20110414</jetty.version>
    <log4j.version>1.2.16</log4j.version>
    <slf4j.version>1.6.1</slf4j.version>
</properties>

<dependencies>

    <!--  WICKET DEPENDENCIES -->
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket</artifactId>
        <version>${wicket.version}</version>
        <type>pom</type>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-datetime</artifactId>
        <version>${wicket.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-extensions</artifactId>
        <version>${wicket.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-ioc</artifactId>
        <version>${wicket.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-spring</artifactId>
        <version>${wicket.version}</version>
    </dependency> 

    <!-- LOGGING DEPENDENCIES - LOG4J -->

    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.16</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
        <version>${slf4j.version}</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>jcl-over-slf4j</artifactId>
        <version>${slf4j.version}</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>

我从哪里开始?

0 个答案:

没有答案