PathVariable annotation was empty on param 0. 海文思密达 2020-08-16 307 阅读1分钟 nested exception is java.lang.IllegalStateException: PathVariable annotation was empty on param 0. 参考:www.cnblogs.com/hujunwei/p/… @Pathvariable(value="id") long id