Spring中Controller层中的method显示为灰色并且提示method is never used的原因

原因是没有给方法添加修饰符,在方法上添加public即可

猜你喜欢

转载自www.cnblogs.com/tudoo/p/11794040.html