aspose file tools*
The moose likes Beginning Java and the fly likes Problem w/ Scanner class 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 "Problem w/ Scanner class" Watch "Problem w/ Scanner class" New topic

Problem w/ Scanner class

Cameron MacKenzie

Joined: Oct 07, 2005
Posts: 1
every time I try to load the Scanner class in eclipse or DrJava I get a message saying "Scanner cannot be resolved to a type" How do i fix this or what am i doing wrong?
[ October 07, 2005: Message edited by: Cameron MacKenzie ]
marc weber

Joined: Aug 31, 2004
Posts: 11343

Are you importing java.util.*?

If so, is Eclipse set to compile using Java 1.5? (There are preference settings for this.)

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: Problem w/ Scanner class
Similar Threads
Scanner Class Doubt
I'm lost, need help figuring what todo?
Putting numbers into array
Symbol can't be found
Object in a file