When creating a new EJB 3.0 project in the 1.5.1GA release of the JBoss IDE with JBoss 4.0.4GA the generated JBoss EJB3 Libraries entry in the classpath off the project contains a reference to:
<JBOSS_HOME>\server\<SERVER_NAME>\deploy\ejb3.deployer\hibernate3.jar.
This jar has been moved to the <JBOSS_HOME>\server\<server_name>\lib directory in JBoss 4.0.4GA.
The same holds for the following libraries:
- ejb3-persistence.jar
- hibernate-annotations.jar