新导入的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个回答

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

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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问