Java pom.xml文件中缺少项目。并且无法解决会话和文档中出现的错误

Java pom.xml文件中缺少项目。并且无法解决会话和文档中出现的错误,java,maven,gwt,couchdb,Java,Maven,Gwt,Couchdb,我正在尝试使用maven在Coach db中创建文档。但我在pom文件中遇到了问题,该文件显示了依赖项中缺少工件的错误。我在中创建文档时也遇到了问题。我已经编写了在Coach db中创建文档的代码,但会话和文档显示了错误。 这是我的代码pom文件: </plugins> </build> <properties> <!-- convenience to define GWT version in one place -->

我正在尝试使用maven在Coach db中创建文档。但我在pom文件中遇到了问题,该文件显示了依赖项中缺少工件的错误。我在中创建文档时也遇到了问题。我已经编写了在Coach db中创建文档的代码,但会话和文档显示了错误。 这是我的代码pom文件:

    </plugins>
</build>

<properties>
    <!-- convenience to define GWT version in one place -->
    <gwt.version>2.7.0</gwt.version>
    <!-- tell the compiler we can use 1.5 -->
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
    <dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt-servlet</artifactId>
        <version>${gwt.version}</version>
        <scope>runtime</scope>
    </dependency>


    <!-- couchdb dependencies -->



    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.2.1</version>
    </dependency>

    <dependency>
        <groupId>commons-beanutils</groupId>
        <artifactId>commons-beanutils</artifactId>
        <version>1.8.3</version>
    </dependency>

    <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>1.6</version>
        <scope>system</scope>
    </dependency>

    <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
        <scope>system</scope>
    </dependency>

    <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>2.6</version>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.1.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>org.opencredo.couchdb</groupId>
        <artifactId>couchdb-si-support</artifactId>
        <version>0.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>net.sf.ezmorph</groupId>
        <artifactId>ezmorph</artifactId>
        <version>1.0.6</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>4.2.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpcore</artifactId>
        <version>4.2.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>net.sf.json-lib</groupId>
        <artifactId>json-lib</artifactId>
        <version>2.2.3</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>com.googlecode.json-simple</groupId>
        <artifactId>json-simple</artifactId>
        <version>1.1.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt-user</artifactId>
        <version>${gwt.version}</version>
        <scope>provided</scope>
    </dependency>


    <!-- <dependency> -->
    <!-- <groupId>pd4ml</groupId> -->
    <!-- <artifactId>pd4ml</artifactId> -->
    <!-- <version>1.0</version> -->
    <!-- <scope>system</scope> -->
    <!-- <systemPath>${project.basedir}/war/WEB-INF/dependencies/pd4ml.jar</systemPath> -->
    <!-- </dependency> -->



    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>3.1.0</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
    <dependency>
        <groupId>com.itextpdf</groupId>
        <artifactId>itextpdf</artifactId>
        <version>5.5.11</version>
    </dependency>
</dependencies>
http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 文档创建 文档创建 0.0.1-快照--> 罐子 根 在Couchdb中创建文档 src /*.java src maven战争插件 2.4 战争 假的 maven依赖插件 过程源 复制依赖项 war/WEB-INF/lib

    </plugins>
</build>

<properties>
    <!-- convenience to define GWT version in one place -->
    <gwt.version>2.7.0</gwt.version>
    <!-- tell the compiler we can use 1.5 -->
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
    <dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt-servlet</artifactId>
        <version>${gwt.version}</version>
        <scope>runtime</scope>
    </dependency>


    <!-- couchdb dependencies -->



    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.2.1</version>
    </dependency>

    <dependency>
        <groupId>commons-beanutils</groupId>
        <artifactId>commons-beanutils</artifactId>
        <version>1.8.3</version>
    </dependency>

    <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>1.6</version>
        <scope>system</scope>
    </dependency>

    <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
        <scope>system</scope>
    </dependency>

    <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>2.6</version>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.1.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>org.opencredo.couchdb</groupId>
        <artifactId>couchdb-si-support</artifactId>
        <version>0.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>net.sf.ezmorph</groupId>
        <artifactId>ezmorph</artifactId>
        <version>1.0.6</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>4.2.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpcore</artifactId>
        <version>4.2.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>net.sf.json-lib</groupId>
        <artifactId>json-lib</artifactId>
        <version>2.2.3</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>com.googlecode.json-simple</groupId>
        <artifactId>json-simple</artifactId>
        <version>1.1.1</version>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt-user</artifactId>
        <version>${gwt.version}</version>
        <scope>provided</scope>
    </dependency>


    <!-- <dependency> -->
    <!-- <groupId>pd4ml</groupId> -->
    <!-- <artifactId>pd4ml</artifactId> -->
    <!-- <version>1.0</version> -->
    <!-- <scope>system</scope> -->
    <!-- <systemPath>${project.basedir}/war/WEB-INF/dependencies/pd4ml.jar</systemPath> -->
    <!-- </dependency> -->



    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>3.1.0</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
    <dependency>
        <groupId>com.itextpdf</groupId>
        <artifactId>itextpdf</artifactId>
        <version>5.5.11</version>
    </dependency>
</dependencies>

您尚未说明错误是什么(缺少哪个依赖项)错误在这些依赖项中:你不会说!好吧,祝你好运,有任何帮助。错误在common collection、common beanutils、common codec、common httpclient、common language、common logging和net.sf.json lib中。这将是一个非常奇怪的错误,因为这些依赖项似乎存在于Maven central repository中;你有任何类型的错误吗配置的代理可能会导致网络问题?此外,编辑您的答案并复制/粘贴错误消息将有助于您获得答案。