最佳答案: 这个是警告,不是错误,不影响你使用 你的get方法是static静态方法,直接使用"类.方法"就行了,因为静态方法在对象创建...更多关于The static method getCon() from the type PoolConnect should be accessed in a的问题>>
最佳答案: 它指的是currentThread()方法是个静态方法,用静态方式去访问,不是类的实例去调用。 你可以不管它,或者用Thread.currentThread().getName();更多关于The static method getCon() from the type PoolConnect should be accessed in a的问题>>
问题描述: String nowtime = now.getTime();中now.getTime()出现的警告The static method getTime() from the type GetTime should be accessed in a static way String nowtime = now.getTime();中now.getTime()出现的警告 ...更多关于The static method get