Results 1 to 2 of 2

Thread: booking-faces configuration

  1. #1

    Cool booking-faces configuration

    Hi all !

    has anyone been able to get the booking-faces sample bundled in the
    spring-webflow-2.0.5.RELEASE to work in netbeans 6.5 ? In Eclipse ? I'll bet you have ! I'm a relative newbie to this and get this error using Tomcat 6.0.18, tried JBoss but will see if it works in just Tomcat first..

    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: booking] class or package not found
    at org.hibernate.ejb.Ejb3Configuration.addNamedAnnota tedClasses(Ejb3Configuration.java:1125)
    at org.hibernate.ejb.Ejb3Configuration.addClassesToSe ssionFactory(Ejb3Configuration.java:905)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3 Configuration.java:792)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3 Configuration.java:416)
    at org.hibernate.ejb.HibernatePersistence.createConta inerEntityManagerFactory(HibernatePersistence.java :126)
    at org.springframework.orm.jpa.LocalContainerEntityMa nagerFactoryBean.createNativeEntityManagerFactory( LocalContainerEntityManagerFactoryBean.java:224)
    at org.springframework.orm.jpa.AbstractEntityManagerF actoryBean.afterPropertiesSet(AbstractEntityManage rFactoryBean.java:291)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1369)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1335)
    ... 68 more
    Caused by: java.lang.ClassNotFoundException: main.java.org.springframework.webflow.samples.book ing.User
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1233)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.hibernate.util.ReflectHelper.classForName(Refl ectHelper.java:135)
    at org.hibernate.ejb.Ejb3Configuration.classForName(E jb3Configuration.java:1041)
    at org.hibernate.ejb.Ejb3Configuration.addNamedAnnota tedClasses(Ejb3Configuration.java:1113)
    ... 76 more


    I'm assuming I''ve ruled out missing dependencies as I no longer get Class not found except for what's below.



    Any help or suggestions greatly appreciated !

  2. #2

    Cool my config

    here's my config snapshot


Posting Permissions

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