洗洗脚泡泡澡 2016-06-24 00:55 采纳率: 40.9%
浏览 4139
已采纳

新导入的maven项目pom报错

        <dependency>
            <groupId>oracle.jdbc</groupId>
            <artifactId>ojdbc</artifactId>
            <version>6</version>
        </dependency>
        <dependency>

提示missing

还有头部报错:
Failure to transfer org.codehaus.plexus:plexus-archiver:pom:1.0 from http://repo1.maven.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are
forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-archiver:pom:1.0 from/to central (http://
repo1.maven.org/maven2): No response received after 60000

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
    version="3.1"> 

还有就是web.xml中welcom-file-list报错

Multiple annotations found at this line:
- cvc-complex-type.2.3: Element 'welcome-file-list' cannot have character [children], because the type's
content type is element-only.
- cvc-complex-type.2.4.b: The content of element 'welcome-file-list' is not complete. One of '{"http://
xmlns.jcp.org/xml/ns/javaee":welcome-file}' is expected.

 <welcome-file-list>
        index.jsp
    </welcome-file-list>
  • 写回答

2条回答

  • Robot-C 2016-06-24 01:01
    关注

    导入maven项目pom文件报错如下:Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dep......
    答案就在这里:导入maven项目pom.xml文件报错
    ----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM