zoukankan      html  css  js  c++  java
  • tomcat启动出错 invalid LOC header

    tomcat启动出错 invalid LOC header,run as maven test 没有报错,只有警告:

    'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-p

    修改POM.xml,增加maven-compiler-plugin插件版本信息,如下

    <plugins>    
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>  
            <version>2.3.2</version>  
            <configuration>    
                <source>1.6</source>    
                <target>1.6</target>    
            </configuration>    
        </plugin>    
    </plugins>

    然后再次 run as maven test,报错:

    [ERROR] Failure executing javac, but could not parse the error:
    错误: 读取D:mvnpackorgapache	omcat	omcat-servlet-api7.0.64	omcat-servlet-api-7.0.64.jar时出错; invalid LOC header (bad signature)

    jar包没有下载完,需要重新下载jar包。

  • 相关阅读:
    mysql索引、group by、explain、insert delayed
    mysql学习笔记
    Handler
    文件操作
    RatingBar
    ListView(二)
    文件管理函数的草稿
    SAX解析XML
    phpunit
    Service(一)
  • 原文地址:https://www.cnblogs.com/taiguyiba/p/10413757.html
Copyright © 2011-2022 走看看