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

Posted Keep Moving!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了新人一枚,在启动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的时候遇到个问题~希望大家帮忙看看~~~的主要内容,如果未能解决你的问题,请参考以下文章

职场新人该怎样处理人际关系

maven项目或者SpringBoot项目启动时报错在本地仓库中找不到jar包的解决办法

前端开发新人如何快速打好基础,简单明了的5大要点!

新人项目遇到的问题

AI画家——毕业设计大杀器之Flask

Python新人常犯的错误有哪些?