Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar 报错

记录一下
使用elasticsearch过程中tomcat报错
Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar 报错_第1张图片
pom文件

   
         org.elasticsearch.client
         elasticsearch-rest-high-level-client
         6.5.2
   

报错原因:
elasticsearch中的log4j-api.jar包版本太高

解决办法:
取掉elasticsearch中的log4j包


    org.elasticsearch.client
    elasticsearch-rest-high-level-client
    6.5.2
    
    	    
            log4j-api
            org.apache.logging.log4j
            
    

你可能感兴趣的:(Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar 报错)