java.lang.ClassNotFoundException: org.mvel2.compiler.Accessor
See original GitHub issueIn Mvel 2.4.3 on WildFly 16/Open JDK 11 we observe that
java.lang.ClassNotFoundException: org.mvel2.compiler.Accessor
at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:877)
at org.mvel//org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer$ContextClassLoader.defineClass(ASMAccessorOptimizer.java:2245)
at org.mvel//org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.loadClass(ASMAccessorOptimizer.java:2254)
at org.mvel//org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer._initializeAccessor(ASMAccessorOptimizer.java:750)
at org.mvel//org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.optimizeSetAccessor(ASMAccessorOptimizer.java:665)
at org.mvel//org.mvel2.optimizers.dynamic.DynamicSetAccessor.optimize(DynamicSetAccessor.java:83)
at org.mvel//org.mvel2.optimizers.dynamic.DynamicSetAccessor.setValue(DynamicSetAccessor.java:60)
at org.mvel//org.mvel2.compiler.CompiledAccExpression.setValue(CompiledAccExpression.java:59)
at org.mvel//org.mvel2.ast.DeepAssignmentNode.getReducedValueAccelerated(DeepAssignmentNode.java:90)
at org.mvel//org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42)
at org.mvel//org.mvel2.MVEL.executeExpression(MVEL.java:968)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
java.lang.NoClassDefFoundError: org/mvel2/compiler ...
When I was run compileKotlin task then I got an error. I'm confused for cause of error kapt or codegen > Task :wrapper...
Read more >MVEL Error Caused by: java.lang.NoClassDefFoundError: org ...
I got an error msg after executing my program: Caused by: java.lang.NoClassDefFoundError: org/mvel2/ConversionHandler .
Read more >java.lang.NoClassDefFoundError: org/mvel2/compiler/Accessor
I have 51 classes with @DataObject(generateConverter = true) If I was compile I got a kapt error. But When I delete any of...
Read more >Drools application throws ClassNotFoundException when ...
Exception in thread "main" java.lang.NoClassDefFoundError: some/application/Class at ASMAccessorImpl_XXXXXXXXXXXXXXXXXX.
Read more >(JBRULES-2358) ClassNotFoundException when using "mvel ...
getReducedValueAccelerated(BinaryOperation.java:102) at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:41) at ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MalcolmOdd sure. It strangely happens for certain templates and only after deployment. Because of company policy reasons I can’t share the exact code. But we use orbs and mostly like this
We provide the variables using VariableResolverFactory. Attached the stacktrace
that was pretty back in time so i forgot how we resolved it… it could be a synchronization/timing issue where classloader-s are reset and then reverted back… a code inspection might narrow down the problem while reproducing is quite difficult