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

新导入的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,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

    点赞 打赏 评论
  • baidu_34550805 2016-06-24 03:29

    ping下网址,是不是网站不能连接。

    点赞 打赏 评论

相关推荐 更多相似问题