Access restriction: The type 'MD5' is not API

两种方法:

项目右键–>Properties–>Java Build Path,切换到libraries tab页,找到JRE System Library移除, 然后再点击Add Library–>JRE System Library添加即可。 

项目右键–>Properties–>Java Build Path,切换到libraries tab页,找到JRE System Library点击Edit,选择workspace default jre。


猜你喜欢

转载自blog.csdn.net/wzn1054162229/article/details/80746234