How to solve the problem that the prompt method cannot be found when running the main method when using IDEA's lombok plug-in
This article mainly explains "how to solve the problem that can not be found when using IDEA's lombok plug-in, the main method to run the prompt method can not find", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "how to solve the problem that can not be found when using IDEA's lombok plug-in, main method to run tips method" bar.
There is a maven project in IDEA that does not have a problem compiling and building, and can be packaged as jar, but the runtime using IDEA's main method always prompts that the set method cannot be found. Take a look at the error message is:
You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.
After searching for it, it is still a problem with IDEA configuration. In the project File | Settings | Build, Execution, Deployment | Compiler, change the value of "User-local build process VM options" to "- Djps.track.ap.dependencies=false".
Thank you for your reading, the above is "how to solve the problem that can not be found when using IDEA's lombok plug-in, the main method runs the prompt method". After the study of this article, I believe you have a more profound understanding of how to solve the problem that you can not find when using IDEA's lombok plug-in, and the specific use of this problem still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!