简体   繁体   中英

Developing Springboot Application using Intellij IDEA - Ultimate Version 2018

I am using Intellij IDEA ultimate version 2018 for developing and Springboot Application. Although the application is started when running the main application, the IDE shows errors for getters and setters.

The error is:

Can't resolve method '......'

Since I my subscription was expired, I moved to this version. As I think, the IDE matters for this error. Can someone help me out regarding this matter?

You are using Lombok in this project which IntelliJ IDEA doesn't support out of the box.

You need to install this plug-in: https://plugins.jetbrains.com/plugin/6317-lombok

You can try invalidating the cache and restarting IntelliJ, in many cases, it will help.

In the IntelliJ IDEA, choose this menu, after the restart, it may work.

File -> Invalidate Caches/Restart

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM