Can not generate getters and setters in Spring Project
已回答
I am working on Spring project
Somehow on my fresh IntellijIDEA Ultimate edition 2017.1 I do not see an option to generate getters setters.
Maybe You have an idea why?
I looked up quickly on google but could not find the solution.

请先登录再写评论。
The syntax of your Java file is invalid, you forgot to specify the TYPE of the variables.
Should be "private String appName;"
You can't generate getters/setters because the fields are not declared properly.
Oh, thanks...