现阶段网上给的解决方案都是加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上的,就不翻译了.
网友评论