Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
java.lang.LinkageError: loader constraint violation: loader (instance of groovy/lang/GroovyClassLoader$InnerLoader) previously initiated loading for a different type with name "groovy/lang/MetaClass"
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:85)
at java.security.AccessController.doPrivileged(Native Method)
at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:82)
at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:80)
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:251)
at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:390)
at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:340)
at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3224)
at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:222)
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:253)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:255)
at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:931)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.newInstance(DefaultGroovyMethods.java:12670)
at io.vertx.lang.groovy.GroovyVerticleFactory.createVerticle(GroovyVerticleFactory.groovy:77)
at io.vertx.core.impl.DeploymentManager.lambda$doDeployVerticle$215(DeploymentManager.java:169)
at io.vertx.core.impl.DeploymentManager$$Lambda$5/1105423942.handle(Unknown Source)
at io.vertx.core.impl.FutureImpl.checkCallHandler(FutureImpl.java:135)
at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:100)
at io.vertx.core.impl.DeploymentManager.doDeployVerticle(DeploymentManager.java:158)
at io.vertx.core.impl.DeploymentManager.doDeployVerticle(DeploymentManager.java:129)
at io.vertx.core.impl.DeploymentManager.deployVerticle(DeploymentManager.java:105)
at io.vertx.core.impl.VertxImpl.deployVerticle(VertxImpl.java:534)
at io.vertx.lang.groovy.DeploymentTest.lambda$testRedeployVerticleClass$21(DeploymentTest.java:327)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.