A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Problem w/ Scanner class
Joined: Oct 07, 2005
Oct 07, 2005 11:52:00
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 ]
Joined: Aug 31, 2004
Oct 07, 2005 12:42:00
Are you importing java.util.*?
If so, is Eclipse set to compile using
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."
I agree. Here's the link:
subject: Problem w/ Scanner class
eclipse/webtools BUGS BUGS AND MORE BUGS
package javax.servlet does not exist
error compiling this
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015