Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Application Context and Bean Verification

  1. #11
    Join Date
    Sep 2004
    Location
    North Carolina
    Posts
    38

    Default

    I'm starting to catch on. I also found that dom4j.jar was missing. Now I'm getting the following:

    Internal error

    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in resource [/WEB-INF/applicationContext-hibernate.xml] of ServletContext: Initialization of bean failed; nested exception is java.io.FileNotFoundException: Could not open class path resource [icarabineer.hbm.xml] java.io.FileNotFoundException: Could not open class path resource [icarabineer.hbm.xml] at org.springframework.core.io.ClassPathResource.getI nputStream(ClassPathResource.java:86) at org.springframework.orm.hibernate.LocalSessionFact oryBean.afterPropertiesSet(LocalSessionFactoryBean .java:353) at


    What jar am I missing now???

  2. #12
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    Well since you apologized ahead of time, I'm not annoyed :-) However you can certainly save yourself some time (as well as me :-) ) by just carefully reading the exception. Here you're getting a FileNotFoundException, complaining about not finding one of the Hibernate mapping files, 'icarabineer.hbm.xml'

    If your'e working off one of the samples, then it should generally be in the sample place as the ones in teh sample.
    Colin Sampaleanu
    SpringSource - http://www.springsource.com

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Context initialization failed
    By kanonmicke in forum Container
    Replies: 7
    Last Post: Sep 29th, 2005, 12:35 AM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Replies: 1
    Last Post: Jul 28th, 2005, 05:08 PM
  5. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •