How to solve : Unable to Process Jar entry

后端 未结 8 1051
一向
一向 2021-01-07 21:10

I am getting this error on console. Can anyone please help me out (I am working on a Spring MVC project with GWT and maven)

SEVERE: Unable to process

相关标签:
8条回答
  • 2021-01-07 21:33

    First open the file icu4j-2.6.1.jar with any zip vievwer (7Zip for example). Check if it contains the com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class file.

    0 讨论(0)
  • 2021-01-07 21:33

    this is work for me:

    <dependency>
      <groupId>com.ibm.icu</groupId>
      <artifactId>icu4j</artifactId>
      <version>4.6</version>
    </dependency>
    
    0 讨论(0)
  • 2021-01-07 21:34

    I guess LocaleElements_zh__PINYIN.class file is missing in jar try replacing the jar.

    0 讨论(0)
  • 2021-01-07 21:37

    com.ibm.icu.impl.data.LocaleElements_zh__PINYIN is a ill-formed class file inside the 2.6.1 icu4j jar file. Override or use the newer icu4j jar files, 55.0+.

    0 讨论(0)
  • 2021-01-07 21:48

    I get this error when icu4j-xxx.jar is included in my class path. Why don't you try to remove it from your WEB-INF/lib?

    0 讨论(0)
  • 2021-01-07 21:54

    So, in our case it didn't come from a direct dependency but rather from an indirect injection of the com.google.code.findbugs library.

    You will know where it comes from by running mvn dependency:tree for your project (supposing you're using maven)

    Solution for us was to use a newer version of the findbugs library (3.0.0) which appeared to be much leaner in terms of dependency content.

    0 讨论(0)
提交回复
热议问题