The static method getParametermapValues() from the type Request should be accessed in a static way
The static method getParametermapValues() from the type Request should be accessed in a static way1.说明:这是一个警告,这个bug让我找了几个钟头(由于笔者是菜鸡)2.原因是:翻译过来就是你使用的静态方法不是通过类名.静态方法的方式来调用的,那么这样会出现什么问题呢???很大很大的问题!!!这么用其实不是调用对象的方法,而是直接调用类的静态方法,因为静态的东西不属于某个类,所以如果你出现了bug找不出原因
复制链接