Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sun.servlet.http.HttpOutputStream

 
Reetta Pitkanen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm working on a servlet and get the following error message both when compiling the source code and when attempting to start the servletrunner utility:
RequestServer.java:250: cannot resolve symbol
symbol : class HttpOutputStream
location: package http
out = ((sun.servlet.http.HttpOutputStream)res.getOutputStream());
C:\projects>bin\servletrunner
Exception in thread "main" java.lang.NoClassDefFoundError: sun/servlet/http/Http
Server
java.exe: No error
Any help you could offer would be greatly appreciated
Thank you,
Reetta
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic