java.lang.NoClassDefFoundError: Could not initialize class java.util.Currency

Server Fault | sectus | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Tomcat6 failed to restart

    Server Fault | 3 years ago | sectus
    java.lang.NoClassDefFoundError: Could not initialize class java.util.Currency

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class java.util.Currency

      at java.text.DecimalFormatSymbols.initialize()
    2. Java RT
      SimpleFormatter.format
      1. java.text.DecimalFormatSymbols.initialize(DecimalFormatSymbols.java:559)
      2. java.text.DecimalFormatSymbols.<init>(DecimalFormatSymbols.java:94)
      3. java.text.DecimalFormatSymbols.getInstance(DecimalFormatSymbols.java:157)
      4. java.text.NumberFormat.getInstance(NumberFormat.java:767)
      5. java.text.NumberFormat.getIntegerInstance(NumberFormat.java:439)
      6. java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:581)
      7. java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:570)
      8. java.text.DateFormat.get(DateFormat.java:724)
      9. java.text.DateFormat.getDateInstance(DateFormat.java:499)
      10. java.text.MessageFormat.makeFormat(MessageFormat.java:1407)
      11. java.text.MessageFormat.applyPattern(MessageFormat.java:475)
      12. java.text.MessageFormat.<init>(MessageFormat.java:367)
      13. java.util.logging.SimpleFormatter.format(SimpleFormatter.java:70)
      13 frames
    3. TomEE Juli
      FileHandler.publish
      1. org.apache.juli.FileHandler.publish(FileHandler.java:198)
      1 frame
    4. Java RT
      Logger.logp
      1. java.util.logging.Logger.log(Logger.java:573)
      2. java.util.logging.Logger.doLog(Logger.java:598)
      3. java.util.logging.Logger.logp(Logger.java:798)
      3 frames
    5. TomEE Juli
      DirectJDKLog.error
      1. org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:167)
      2. org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135)
      2 frames
    6. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:100)
      2. org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207)
      3. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
      3 frames