Q4058 I get errors saying: "compiling: x.java x.java:3: Package x.servlet not found in import. import x.servlet.*" - whatis wrong?
You are here: irt.org | FAQ | Java | Q4058 [ previous next ]
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
©2018 Martin Webb