LoginSignup
5
2

More than 5 years have passed since last update.

jspコンパイルでThe type java.io.ObjectInputStream cannot be resolved. が発生

Last updated at Posted at 2016-06-25

最近、eclipseでjspコンパイル時に「The type java.io.ObjectInputStream cannot be resolved.」というエラーで落ちる事象が発生しました。でプログラムの何がいけないんだろうということで調べてみたのですが問題なく、どうやらjdkで使ってるバージョンに起因するものらしいので共有します。なお、Tomcat以外にもGAEで使ってるjettyでも発生するようです。(私はjettyではまりました)

発生条件

 jdk1.8.0_91もしくはjdk1.8.0_92を使用している。

対処方法(2016年6月時点)

 jdk1.8.0_77までダウングレードする。

参考URL

 【Stack Overflow 】
   http://stackoverflow.com/questions/36963248/the-type-java-io-objectinputstream-cannot-be-resolved-it-is-indirectly-referenc

 【Googleグループ】
   https://groups.google.com/forum/#!topic/alluxio-users/H1mcoZY77F8

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2