This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes error messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "error messages" Watch "error messages" New topic
Author

error messages

sara li
Greenhorn

Joined: Feb 27, 2003
Posts: 11
Hi
I am trying to learn Servlet, I am following this tutorial http://www.javaranch.com/drive/servlet/index.jsp
but when I tried to comiple BeeServlet.java then
I go these error messages:
==================
C:\JAVA\BeeServlet.java:2: package com.javaranch.common does not exist
import com.javaranch.common.* ;
^
C:\JAVA\BeeServlet.java:4: cannot resolve symbol
symbol : class LogServlet
location: class BeeServlet
public class BeeServlet extends LogServlet
^
C:\JAVA\BeeServlet.java:7: cannot resolve symbol
symbol : class CastMap
location: class BeeServlet
public void doGet( PrintWriter out , CastMap parms )
^
3 errors
======================
any help please
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moving to the Cattle Drive forum.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
Did you include the JavaRanchCommon.zip in your classpath? (Refer to the first OOP assignment)


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error messages
 
Similar Threads
Servlets - Java Ranch Tutorial Help
Problem in start of BeeServlet.java / autoexec.bat file
error javac + javaee.jar : custom classpath
What is "ZoneInfo"?
Compile problem not finding package javax.servlet.http