Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q4058 I get errors saying: "compiling: x.java x.java:3: Package x.servlet not found in import. import x.servlet.*" - whatis wrong?

irt.org | Knowledge Base | Java | Q4058 [ previous next ]

Q4058 I get errors saying: "compiling: x.java x.java:3: Package x.servlet not found in import. import x.servlet.*" - whatis wrong?

The compilation error you have got is a classpath error. The Java compiler is unable to find the specified class (import x.servlet.*)

To solve the problem you can:

  • Check the classpath again
  • Either your jsdk.jar file is corrupted replace it
  • Or reinstall the JSDK2.0
  • Check the version of JDK

  • Provide feedback ...
    AddThis Social Bookmark Button

    Provide feedback ... AddThis Social Bookmark Button


    Last Updated: 30th March 2008. Maintained by: Martin Webb
    irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
    Copyright © 1996-2008 irt.org, All Rights Reserved.