I am getting the following e开发者_开发技巧rror in my Servlet.
The serializable class Regstn does not declare a static final serialVersionUID field of type long
How to resolve this error?
This is just a warning not an error. In your servlet class just add a class variable.
private static final long serialVersionUID = 1L;
I hope your class or any super-class of it, implements Serializable
精彩评论