创建servlet类时build path is incompl

2018-04-22  本文已影响17人  nextliving

使用Myeclipse创建servlet时,出现错误提示:The project was not built since its build path is incomplete. Cannot find the class file for java.io.ObjectInputStream. Fix the build path then try building this project

除此以外,对应的servlet类文件也报错:

The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files

最后的解决方案是更换JRE版本,从1.8.0降到1.6.0,错误消失。

上一篇 下一篇

猜你喜欢

热点阅读