Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting error in JBoss startup but the same web app is working in Tomcat 5.

843842Aug 7 2008
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>()
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2008
Added on Aug 7 2008
0 comments
153 views