java - cannot find symbol when I tried build project (maven+lombok) -
i use lombok
in spring mvc project. , have problems maven
. when tried run clean/install
in maven have errors
[error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[62,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[63,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[64,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[65,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[66,24] error: cannot find symbol [error] \gitprojects\demirbank\src\main\java\com\springapp\mvc\successcontroller.java:[67,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[68,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[69,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[70,24] error: cannot find symbol [error] \gitprojects\src\main\java\com\springapp\mvc\successcontroller.java:[71,24] error: cannot find symbol
and if run server without clean/install
, press debug or run button have error cannot find symbol
i eneble settings -> compiler -> annotation processors
not help.
but if make build/rebuild
, after press debug
button project build fine.
how configure intellij ide going on maven?
if using @get , @set in pojo/dto/bean class in eclipse check whether it's generating getters , setters on behalf of using outline view.in controller if using @sl4j,or @log4j of lombok check whether getting object or not.
Comments
Post a Comment