原因:Eclipse 默认把这些受访问限制的API设成了ERROR。
解决方法:Windows -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and trstricted API -> Forbidden reference (access rules): -> change to warning
"Access restriction: The type 'Timestamp' is not API ......"
最新推荐文章于 2021-07-09 00:18:48 发布