Feign PathVariable annotation wa

2020-03-31  本文已影响0人  平常心

现阶段网上给的解决方案都是加name,可以对于一个在别处运行正常的工程来说,加上几十上百个name是很费时的,找到最终的原因.
I also meet exception, and spend some hours to solve it, finally the problem is made by refactor Method class privateGetParameters(), the solvation is compile use javac -parameter ..., if you use idea, add "-parameters" under Java Compiler-> Additonal command line parameters settings. if you use gradle, add
apply plugin: 'java'
compileJava {
options.compilerArgs << '-parameters'
}
`
note that clean your project before try again
答案是写在github上的,就不翻译了.

上一篇下一篇

猜你喜欢

热点阅读