On 2/11/06, Sebastian Funk <[EMAIL PROTECTED]> wrote: > > On Feb 11, 2006, at 6:30 PM, Caldarale, Charles R wrote: > > >> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > >> Subject: java.lang.Object cannot be resolved > >> > >> import java.lang.Object; > >> > >> The type java.lang.Object cannot be resolved. It is indirectly > >> referenced from required .class files > > > > Don't know why you're suddenly getting this message, but there's no > > reason to import java.lang.Object (or anything else from java.lang, > > for > > that matter). There is an implicit import of java.lang.* for all > > compilations (see Java language spec, section 7.5.5). > > > > - Chuck > I get that message at the first import-statement. When I don't import > java.lang.Object, then I get exactly the same, e.g.: > 1. ERROR in Familie.java > (at line 1) > import javax.servlet.*; > ^ > The type java.lang.Object cannot be resolved. It is indirectly > referenced from required .class files > > Any ideas? > > Greetings, > Sebastian Funk >
Maybe the JAVA_HOME or CLASSPATH variables are set wrong, or rt.jar is missing? (rt.jar is where Object lives, in Sun's JRE at least.) -- Len --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]