Joint Compiler Error :- Any solution
For instance the following line appear upon a run after compilation
"Exception in thread "main" groovy.lang.MissingPropertyException: No such property: menuBarClass for class: ig.ui.IgConsoleView mycvshr
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)"
请先登录再写评论。
Based on the error you've provided, it seems like you're encountering a
MissingPropertyException
in a Groovy script, indicating that a property (menuBarClass
) is being referenced but not found in theig.ui.IgConsoleView
class. This typically occurs if the property hasn't been defined in the class or if there's a typo in the property name.Here are some steps you might consider to resolve the issue:
menuBarClass
is spelled correctly and matches the property name in theIgConsoleView
class.menuBarClass
is supposed to be a part ofIgConsoleView
, ensure that it's properly defined within the class. If it's a new property you are trying to add, make sure you've added the necessary getters and setters or declared the variable correctly.menuBarClass
property. Sometimes, an outdated jar or class file might not have the latest properties.menuBarClass
is being accessed in an appropriate context where it is visible and accessible.IgConsoleView
class or any user forums for common issues related to property access in Groovy, as there might be known issues or solutions available.Regards
James from Y9
it has already been answered in this article - https://intellij-support.jetbrains.com/hc/en-us/community/posts/206635495-Groovy-generated-classes-causing-compilation-issues geekydane