• Post Reply Bookmark Topic Watch Topic
  • New Topic

the type java.io.ObjectInputStream cannot be resolved.  RSS feed

 
Himalaya Kaushik
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AppletSkel
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the ranch.

There isn't an ObjectInputStream anywhere in your code (or your post).

Henry
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome again

Why are you using applets, which is an obsolete technology? Why are all those methods empty?
 
Himalaya Kaushik
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:Welcome to the ranch.

There isn't an ObjectInputStream anywhere in your code (or your post).

Henry



thanks for a warm welcome!
but i am getting the error" the type java.io.ObjectInputStream cannot be resolved to a type. It is indirectly refrenced from .class file."
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Himalaya Kaushik wrote:
but i am getting the error" the type java.io.ObjectInputStream cannot be resolved to a type. It is indirectly refrenced from .class file."


There is nothing in the code that you shown, that is related to the ObjectInputStream class. You need to elaborate a bit on what you are doing -- perhaps explain how the ObjectInputStream is referenced? and what you mean by "indirectly"?

Henry
 
Himalaya Kaushik
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:
Himalaya Kaushik wrote:
but i am getting the error" the type java.io.ObjectInputStream cannot be resolved to a type. It is indirectly refrenced from .class file."


i am trying to create an applet skeleton.
so that i get a pop up. but am not getting what's wrong.

Henry
Capture.jpeg
[Thumbnail for Capture.jpeg]
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing (related to ObjectInputStream) wrong with the code you provided (assuming the code in the original post and the uploaded images are the same). There is however, something wrong with your environment. It does mention something wrong with the build path -- perhaps you should fix that first?

Henry
 
Knute Snortum
Sheriff
Posts: 4288
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right-click on the error message, select Quick Fix from the context menu.  What do you see?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!