java.lang.NoClassDefFoundError: org/mozilla/javascript/ContextFactory

GitHub | alain-odea-vgh | 3 years 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

    openjdk7: JavaScript engine broken

    GitHub | 3 years ago | alain-odea-vgh
    java.lang.NoClassDefFoundError: org/mozilla/javascript/ContextFactory

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/mozilla/javascript/ContextFactory

      at com.sun.script.javascript.RhinoScriptEngine.<clinit>()
    2. com.sun.script
      RhinoScriptEngineFactory.getScriptEngine
      1. com.sun.script.javascript.RhinoScriptEngine.<clinit>(RhinoScriptEngine.java:71)
      2. com.sun.script.javascript.RhinoScriptEngineFactory.getScriptEngine(RhinoScriptEngineFactory.java:74)
      2 frames
    3. Java RT
      ScriptEngineManager.getEngineByName
      1. javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:235)
      1 frame
    4. Java Tools
      Main.main
      1. com.sun.tools.script.shell.Main.getScriptEngine(Main.java:411)
      2. com.sun.tools.script.shell.Main.processOptions(Main.java:169)
      3. com.sun.tools.script.shell.Main.main(Main.java:44)
      3 frames