Can't find bundle for base name

前端 未结 4 1424
北恋
北恋 2020-12-29 04:04

I\'m using a library that has a dependency on jfreechart (v 1.0.9).

When I try to run the .jar, I get:

java.util.MissingResourceException: Can\'t fin         


        
4条回答
  •  遥遥无期
    2020-12-29 04:45

    BalusC is right. Version 1.0.13 is current, but 1.0.9 appears to have the required bundles:

    $ jar tf lib/jfreechart-1.0.9.jar | grep LocalizationBundle.properties 
    org/jfree/chart/LocalizationBundle.properties
    org/jfree/chart/editor/LocalizationBundle.properties
    org/jfree/chart/plot/LocalizationBundle.properties
    

提交回复
热议问题