java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 3 but got 2

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

    Grails IncompatibleClassChangeError

    Stack Overflow | 7 years ago | Dennis Thrysøe
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 3 but got 2

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 3 but got 2

      at grails.plugin.scopedproxy.AlwaysReloadableSmartClassLoader.<init>()
    2. grails.plugin.scopedproxy
      ScopedProxyUtils.wrapInSmartClassLoader
      1. grails.plugin.scopedproxy.AlwaysReloadableSmartClassLoader.<init>(AlwaysReloadableSmartClassLoader.groovy:28)
      2. grails.plugin.scopedproxy.ScopedProxyUtils.wrapInSmartClassLoader(ScopedProxyUtils.groovy:154)
      2 frames