Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes Cannot find symbol :Class Dog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cannot find symbol :Class Dog" Watch "Cannot find symbol :Class Dog" New topic
Author

Cannot find symbol :Class Dog

geet kaur
Ranch Hand

Joined: Sep 03, 2008
Posts: 78



these are my two classes but when i try compiling the MyServletContextListener class it shows me the error, cannot find symbol:class Dog.However,both are in the com.example package
Harry Jones
Greenhorn

Joined: Mar 19, 2010
Posts: 20
I ran this in NetBeans and it compiled for me without an exception.
 
Don't get me started about those stupid light bulbs.
 
subject: Cannot find symbol :Class Dog
 
Similar Threads
javac compiling problem
Package Problem
Head First Servlets and JSp problem
Hi, package compiling question...
Problem invoking a servlet directly from FireFox browser