Announcement Announcement Module
Collapse
No announcement yet.
org.springframework.beans.factory.BeanCreationExce ption: Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • org.springframework.beans.factory.BeanCreationExce ption:

    Hi guys I am new to spring community and am getting this exception when I deploy my application and start the jboss server on linux

    Exception :
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'authenticationMgr' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError

    applicationContext.xml
    <bean id="authenticationMgr"
    class="com.manager.impl.AuthMgrImpl">
    <property name="authDAO"><ref local="authDAO" />
    </property>
    </bean>

    In my implementation class I wrote something like this

    AuthMgrImpl.java
    ........
    public void setAuthDAO(IAuthDAO authDAO) {
    this.authDAO = authDAO;
    }
    public IAuthDAO getAuthDAO() {
    return this.authDAO;
    }
    ......
    ......

    All the jar files are compatable, Can anyone please help me out in this regard and let me know what might be the problem??

    Thanks,
    Sreekanth

  • #2
    Problem with some changes in path variables setting in jboss server, Resolved.

    Comment

    Working...
    X