<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>