美文网首页
创建servlet类时build path is incompl

创建servlet类时build path is incompl

作者: nextliving | 来源:发表于2018-04-22 13:22 被阅读17次

使用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,错误消失。

相关文章

网友评论

      本文标题:创建servlet类时build path is incompl

      本文链接:https://www.haomeiwen.com/subject/iktclftx.html