Getting error in JBoss startup but the same web app is working in Tomcat 5.
Hi,
I am trying to set up a small practice application in eclipse. I am using Spring Hibernate and Struts.
I deployed this application in Tomcat 5.5 and it works fine but when i deploy it in JBoss 4.3 GA through eclipse I get the following exception.
Does JBoss require some othe settings to be done? Actually I have provided a default constructor for the Action class in question.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Login' defined in ServletContext resource [WEB-INF/applicationContext-hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [tutorial.Login]: No default constructor found; nested exception is java.lang.NoSuchMethodException: tutorial.Login.<init>()
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [tutorial.Login]: No default constructor found; nested exception is java.lang.NoSuchMethodException: tutorial.Login.<init>()
java.lang.NoSuchMethodException: tutorial.Login.<init>()