This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

the type java.io.ObjectInputStream cannot be resolved.

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AppletSkel
 
author
Posts: 23879
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux 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
 
Marshal
Posts: 69880
278
  • 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
Posts: 23879
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux 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
Posts: 23879
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux 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
 
Sheriff
Posts: 7108
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • 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?
 
    Bookmark Topic Watch Topic
  • New Topic