This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Cannot find the symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cannot find the symbol" Watch "Cannot find the symbol" New topic
Author

Cannot find the symbol

Gary Ba
Ranch Hand

Joined: Oct 23, 2009
Posts: 150

Hi Guys,

I have a compile error: Cannot find TestParent

Here is my two simple files.






When I compile Test.java, I cannot find TestParent.class. The Test.class exists though.
Note: the two files are on the same directory.

Thank you for the help guys,
Garry


star chaser..
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308
You miss the keyword class



Bye,
Nicola
Gary Ba
Ranch Hand

Joined: Oct 23, 2009
Posts: 150

do'h...mistake.

Thank you, Nicola!
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308



OK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find the symbol
 
Similar Threads
Design approach for factoring out common logic
import statements
compile multiple class files
basic test
Help with Package understanding