我使用的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;
参考
注意这里