java.util.ServiceConfigurationError: sun.util.locale.provider.LocaleDataMetaInfo: Provider sun.util.resources.cldr.provider.CLDRLocaleDataMetaInfo could not be instantiated at java.util.ServiceLoader.fail(java.base@9-ea/ServiceLoader.java:379) at java.util.ServiceLoader.access$800(java.base@9-ea/ServiceLoader.java:218) at java.util.ServiceLoader$ModuleServicesIterator.nextService(java.base@9-ea/ServiceLoader.java:741) at java.util.ServiceLoader$RestrictedIterator.next(java.base@9-ea/ServiceLoader.java:538) at java.util.ServiceLoader$2.next(java.base@9-ea/ServiceLoader.java:921) at sun.util.cldr.CLDRLocaleProviderAdapter$1.run(java.base@9-ea/CLDRLocaleProviderAdapter.java:76) at sun.util.cldr.CLDRLocaleProviderAdapter$1.run(java.base@9-ea/CLDRLocaleProviderAdapter.java:73) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at sun.util.cldr.CLDRLocaleProviderAdapter.<init>(java.base@9-ea/CLDRLocaleProviderAdapter.java:73) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9-ea/NativeConstructorAccessorImpl.java:62) at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9-ea/DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(java.base@9-ea/Constructor.java:453) at java.lang.Class.newInstance(java.base@9-ea/Class.java:565) at sun.util.locale.provider.LocaleProviderAdapter.forType(java.base@9-ea/LocaleProviderAdapter.java:175) at sun.util.locale.provider.LocaleProviderAdapter.findAdapter(java.base@9-ea/LocaleProviderAdapter.java:278) at sun.util.locale.provider.LocaleProviderAdapter.getAdapter(java.base@9-ea/LocaleProviderAdapter.java:249) at java.text.NumberFormat.getInstance(java.base@9-ea/NumberFormat.java:859) at java.text.NumberFormat.getInstance(java.base@9-ea/NumberFormat.java:429)

GitHub | don-vip | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java 9: IllegalAccessError on CLDRLocaleDataMetaInfo.$jacocoData

    GitHub | 9 months ago | don-vip
    java.util.ServiceConfigurationError: sun.util.locale.provider.LocaleDataMetaInfo: Provider sun.util.resources.cldr.provider.CLDRLocaleDataMetaInfo could not be instantiated at java.util.ServiceLoader.fail(java.base@9-ea/ServiceLoader.java:379) at java.util.ServiceLoader.access$800(java.base@9-ea/ServiceLoader.java:218) at java.util.ServiceLoader$ModuleServicesIterator.nextService(java.base@9-ea/ServiceLoader.java:741) at java.util.ServiceLoader$RestrictedIterator.next(java.base@9-ea/ServiceLoader.java:538) at java.util.ServiceLoader$2.next(java.base@9-ea/ServiceLoader.java:921) at sun.util.cldr.CLDRLocaleProviderAdapter$1.run(java.base@9-ea/CLDRLocaleProviderAdapter.java:76) at sun.util.cldr.CLDRLocaleProviderAdapter$1.run(java.base@9-ea/CLDRLocaleProviderAdapter.java:73) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at sun.util.cldr.CLDRLocaleProviderAdapter.<init>(java.base@9-ea/CLDRLocaleProviderAdapter.java:73) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9-ea/NativeConstructorAccessorImpl.java:62) at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9-ea/DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(java.base@9-ea/Constructor.java:453) at java.lang.Class.newInstance(java.base@9-ea/Class.java:565) at sun.util.locale.provider.LocaleProviderAdapter.forType(java.base@9-ea/LocaleProviderAdapter.java:175) at sun.util.locale.provider.LocaleProviderAdapter.findAdapter(java.base@9-ea/LocaleProviderAdapter.java:278) at sun.util.locale.provider.LocaleProviderAdapter.getAdapter(java.base@9-ea/LocaleProviderAdapter.java:249) at java.text.NumberFormat.getInstance(java.base@9-ea/NumberFormat.java:859) at java.text.NumberFormat.getInstance(java.base@9-ea/NumberFormat.java:429)

    Root Cause Analysis

    1. java.util.ServiceConfigurationError

      sun.util.locale.provider.LocaleDataMetaInfo: Provider sun.util.resources.cldr.provider.CLDRLocaleDataMetaInfo could not be instantiated at java.util.ServiceLoader.fail(java.base@9-ea/ServiceLoader.java:379) at java.util.ServiceLoader.access$800(java.base@9-ea/ServiceLoader.java:218) at java.util.ServiceLoader$ModuleServicesIterator.nextService(java.base@9-ea/ServiceLoader.java:741) at java.util.ServiceLoader$RestrictedIterator.next(java.base@9-ea/ServiceLoader.java:538) at java.util.ServiceLoader$2.next(java.base@9-ea/ServiceLoader.java:921) at sun.util.cldr.CLDRLocaleProviderAdapter$1.run(java.base@9-ea/CLDRLocaleProviderAdapter.java:76) at sun.util.cldr.CLDRLocaleProviderAdapter$1.run(java.base@9-ea/CLDRLocaleProviderAdapter.java:73) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at sun.util.cldr.CLDRLocaleProviderAdapter.<init>(java.base@9-ea/CLDRLocaleProviderAdapter.java:73) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9-ea/NativeConstructorAccessorImpl.java:62) at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9-ea/DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(java.base@9-ea/Constructor.java:453) at java.lang.Class.newInstance(java.base@9-ea/Class.java:565) at sun.util.locale.provider.LocaleProviderAdapter.forType(java.base@9-ea/LocaleProviderAdapter.java:175) at sun.util.locale.provider.LocaleProviderAdapter.findAdapter(java.base@9-ea/LocaleProviderAdapter.java:278) at sun.util.locale.provider.LocaleProviderAdapter.getAdapter(java.base@9-ea/LocaleProviderAdapter.java:249) at java.text.NumberFormat.getInstance(java.base@9-ea/NumberFormat.java:859) at java.text.NumberFormat.getInstance(java.base@9-ea/NumberFormat.java:429)

      at org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter.<init>()
    2. Apache Ant + JUnit
      SummaryJUnitResultFormatter.<init>
      1. org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter.<init>(SummaryJUnitResultFormatter.java:44)
      1 frame