-
Exception in JavaBeans
I'm using the javabeans with a jsp page, but when I run it this message appears:
javax.servlet.ServletException: class generation1.Sells :
java.lang.InstantiationException: generation1.Sells
these are my classes
public class Sells
public class Sellsdetails extends Element
I'm implementing a generator of xml files
please help me
-
Read this article
InstantiationException (Java 2 Platform SE v1.4.2)
especially this part:
"Thrown when an application tries to create an instance of a class
using the newInstance method in class Class, but the specified class
object cannot be instantiated because it is an interface or is an
abstract class."
-
I read this article and bbq this is important
"Thrown when an application tries to create an instance of a class
using the newInstance method in class Class, but the specified class
object cannot be instantiated because it is an interface or is an
abstract class."