java.lang.ExceptionInInitializerError: java.lang.RuntimeException: Could not load unsafe method java.lang.Runtime.removeShutdownHook(java.lang.Thread) java.lang.NoSuchMethodException removeShutdownHook at freemarker.ext.beans.BeansWrapper.createUnsafeMethodsSet(BeansWrapper.java, Compiled Code)

freemarker | raghushri | 1 decade 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

    Starting problems with JDK 1.2.2_009 and free

    freemarker | 1 decade ago | raghushri
    java.lang.ExceptionInInitializerError: java.lang.RuntimeException: Could not load unsafe method java.lang.Runtime.removeShutdownHook(java.lang.Thread) java.lang.NoSuchMethodException removeShutdownHook at freemarker.ext.beans.BeansWrapper.createUnsafeMethodsSet(BeansWrapper.java, Compiled Code)

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      java.lang.RuntimeException: Could not load unsafe method java.lang.Runtime.removeShutdownHook(java.lang.Thread) java.lang.NoSuchMethodException removeShutdownHook at freemarker.ext.beans.BeansWrapper.createUnsafeMethodsSet(BeansWrapper.java, Compiled Code)

      at freemarker.ext.beans.BeansWrapper.<clinit>()
    2. FreeMarker
      FMParser.StringOutput
      1. freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:82)
      2. freemarker.template.Constants.<clinit>(Constants.java:54)
      3. freemarker.template.FMParser.StringOutput(FMParser.java:840)
      3 frames