The type java.io.ObjectInputStream cannot be resolved.的问题解决

xiaoxiao2025-05-31  33

查看自己的JRE System Library使用的版本,我之前的版本过高,将版本降低就可以了。

选择自己的项目,然后快捷键alt+enter

查看自己的 JRE System Library,然后点击选择remove.接着点击Add Library…选择JRE System Library,最后点击alternate JRE,切换到低版本的即可。

finish——>ok

转载请注明原文地址: https://www.6miu.com/read-5031054.html

最新回复(0)