This line is troubling:

[PersistenceUnit: jpaweb] Unable to build EntityManagerFactory

But I'm not sure why that would be happening and not throwing some sort of
exception or logging. I'm not going to be around much over the holidays, but
I can definitely help next week if you're still running into this issue.

Derek

On Fri, Dec 18, 2009 at 12:06 AM, James Black <planiturth...@gmail.com>wrote:

> I am trying to test that my entities are working properly, but I get this
> at the end of the surefire output for the test:
> 1634 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping
> collection: jblack.resumeapp.lift.model.Author.books -> Book
> 1639 [main] INFO org.hibernate.cfg.AnnotationConfiguration - Hibernate
> Validator not found: ignoring
> 1739 [main] INFO
> org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to
> find org.hibernate.search.event.FullTextIndexEventListener on the classpath.
> Hibernate Search is not enabled.
> [PersistenceUnit: jpaweb] Unable to build EntityManagerFactory
>
> I only have defined my classes in jblack.resumeapp.lift.model and created
> my unit test.
>
> The EntityManagerFactory seems to process my models properly.
>
>   I haven't done anything with the snippets, so there are no RequestVar
> implementations for my new models.
>
>   I had created the jpa sample so all I did was add my new classes there.
>
>   Do I need to finish the steps in chapter 10 of the lift book to get my
> unit tests to pass at all?
>
> In an unchanged jpa sample I am missing the next lines, and I am not
> certain what must be done to resolve this, as the driver information isn't
> being processed at all.
>
> I use 'mvn clean install' to run my tests from the top level of my project,
> but if I do 'cd spa' then 'mvn install' I get the same results.
> 1805 [main] INFO
> org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to
> find org.hibernate.search.event.FullTextIndexEventListener on the classpath.
> Hibernate Search is not enabled.
> 1977 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider -
> Using Hibernate built-in connection pool (not for production use!)
> 1977 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider -
> Hibernate connection pool size: 20
>
>
> I am trying to get my test working so I can put back in my @OneToOne,
> @OneToMany and related columns and @PostLoad and related annotations, as I
> had another error when using these, so I have commented them out until I get
> the test working so far.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to