java - Problem in computing SerialversionUID from the command prompt -


whenever trying compute serialversionuid command prompt, getting "exception in thread "main" java.lang.noclassdeffounderror: javax.servlet.http.httpservletrequest".

classpath set correctly.i have j2ee.jar in classpath.

can me out.

you need if have already-serialized instances of class , you've changed , want maintain serialization-compatibility existing serializations. otherwise use 1l or -1l.


Comments