java - 使用lombok 找不到方法
怪我咯
怪我咯 2017-04-17 17:50:28
0
2
514

我使用的IDE是IDEA14.1.6,想要在controller获取get方法。
编译时没有错,但是执行之后出错

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue Mar 01 21:15:14 CST 2016
There was an unexpected error (type=Internal Server Error, status=500).
com.luoyelingluo.entity.Test.getName()Ljava/lang/String;
怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
左手右手慢动作

Reference

Pay attention here

Ty80

I also had this problem at first. This problem would not exist in eclipse. Later, I switched to intellij idea 15 and the compilation was successful, but there was no get method. Then I downloaded a plug-in integration Lombok plug-in 0.9.8.15 directly. Download and restart in plugins, see if this method works

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template