I took the source for the HelloWorld example in the Tomcat5 samples (http://your.server:8080/servlets-examples/helloworld.html), and tried to compile it. [javac] Compiling 1 source file to /home/ccurley/src/com/charlescurley/hello/classes [javac] ---------- [javac] 1. WARNING in /home/ccurley/src/com/charlescurley/hello/src/HelloWorld.java [javac] (at line 5) [javac] public class HelloWorld extends HttpServlet { [javac] ^^^^^^^^^^ [javac] The serializable class HelloWorld does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] 1 problem (1 warning) What am I missing here? [ccurley@taltos src]$ echo $CLASSPATH /usr/share/tomcat5/bin/:/usr/bin:/usr/share/java/servletapi5.jar:. -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
Attachment:
pgpN7jCNl9Mmg.pgp
Description: PGP signature