File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find the symbol

 
Gary Ba
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Nicola Garofalo
Ranch Hand
Posts: 308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You miss the keyword class

 
Gary Ba
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do'h...mistake.

Thank you, Nicola!
 
Nicola Garofalo
Ranch Hand
Posts: 308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



OK
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic