Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that the prompt method cannot be found when running the main method when using IDEA's lombok plug-in

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report