Hi, I get this exception when booting JBoss:
anonymous wrote : 13:06:53,312 WARN [ServiceController] Problem creating
service jboss.j2ee:service=EJB3,module=Test-EJBModule.jar
| org.hibernate.AnnotationException: No identifier specified for entity:
package.Pdfinstalledfonts
| at
org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:64 at
org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:25
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile
| (..)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:33
at org.jboss.Main.boot(Main.java:18 at
org.jboss.Main$1.run(Main.java:43 at
java.lang.Thread.run(Thread.java:5913:06:53,437 INFO [EJB3Deployer] Deployed:
file:/C:/Programfiler/jboss-4.0.3SP1/server/default/deploy/PorterTest-EJBModule.jar
|
The problem is that I have specified @Id :
| @Entity
| @Table(name = "PDFINSTALLEDFONTS")
| public class Pdfinstalledfonts {
|
| @Id
| @Column(nullable = false)
| private BigDecimal id;
|
| (...)
|
Anyone know what the problem might be?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940621#3940621
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940621
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user