首页 > 代码库 > 新人一枚,在启动maven的时候遇到个问题~希望大家帮忙看看~~~

新人一枚,在启动maven的时候遇到个问题~希望大家帮忙看看~~~

[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.tianli:tianli-background-controller:war:0.0.1-SNAPSHOT
[WARNING] ‘dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)‘ must be unique: org.springframework:spring-web:jar -> duplicate declaration of version ${spring.version} @ com.tianli.b2c:tianli-parent:0.0.1-SNAPSHOT, F:\maven_center\com\tianli\b2c\tianli-parent\0.0.1-SNAPSHOT\tianli-parent-0.0.1-SNAPSHOT.pom, line 78, column 16
[WARNING] ‘build.plugins.plugin.version‘ for org.apache.tomcat.maven:tomcat7-maven-plugin is missing. @ line 14, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building tianli-background-controller 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.fasterxml.jackson.core:jackson-databind:jar:2.8.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tianli-background-controller ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ tianli-background-controller ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tianli-background-controller ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ tianli-background-controller ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ tianli-background-controller ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.038s
[INFO] Finished at: Tue Jun 06 19:01:47 CST 2017
[INFO] Final Memory: 10M/232M
[INFO] ------------------------------------------------------------------------

 

我的问题是在启动后,会出现很多错误:

 

严重: Unable to process Jar entry [com/fasterxml/jackson/databind/ser/std/JsonValueSerializer.class] from Jar [jar:file:/F:/maven_center/com/fasterxml/jackson/core/jackson-databind/2.8.8/jackson-databind-2.8.8.jar!/] for annotations
java.util.zip.ZipException: invalid LOC header (bad signature)

严重: Unable to process Jar entry [com/fasterxml/jackson/databind/ser/std/JsonValueSerializer$TypeSerializerRerouter.class] from Jar [jar:file:/F:/maven_center/com/fasterxml/jackson/core/jackson-databind/2.8.8/jackson-databind-2.8.8.jar!/] for annotations
java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)

就很多这样的错误 ,不知道是为什么?

 但是很奇怪,我的index.jsp确可以访问

技术分享

 

新人一枚,在启动maven的时候遇到个问题~希望大家帮忙看看~~~