Can not generate getters and setters in Spring Project

Answered

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. 

 

0
2 comments

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.

1
Avatar
Permanently deleted user

Oh, thanks...

0

Please sign in to leave a comment.