I make mini example seams app (typical user-rol tables).
The source code was generated with hibernate-tools beta4
and was fixed some errors of generator.
usuario (usuario,password) -- Id (usuario)
rol(rol) -- Id (rol)
usuario_rol(usuario, rol) -- Composite id
It deploy fine.
Some errors in log :
FATAL [org.hibernate.ejb.packaging.PersistenceXmlLoader] entityManager JTA
But show this error in all jsf files :
javax.servlet.ServletException: Cannot get value for expression
'#{usuarioEditor.new}'
And jboss log :
17:14:48,757 ERROR [STDERR]
Examples works fine, my application generated with JBoss IDE don't.
I fix it changed :
@In(create=true)
| private EntityManager entityManager;
@PersistenceContext
| private EntityManager entityManager;
Now, WORKS FINE!!
View the original post :
No.
This error is when source code is generating.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925404#3925404
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925404
It deploy fine.
Some errors in log :
FATAL [org.hibernate.ejb.packaging.PersistenceXmlLoader] entityManager JTA
But show this error in all jsf files : javax.servlet.ServletException: Cannot
get value for expression '#{usuarioEditor.new}'
I deploy seam examples and work fine.
I use
To generate skeleton seam app throw this exception :
org.hibernate.tool.hbm2x.ExporterException: Error while processing template
string
freemarker.core.InvalidReferenceException: Expression field.value.typeName is
undefined on line 35, column 6 in seam/find.jsp.ftl.