调度EJB/EAR到JBoss服务器的注意事项

部署EJB/EAR到JBoss服务器的注意事项
===============部署EJB/EAR到JBOSS时的注意事项===============
1、删除JBOSS实例下lib目录的包,包括:
【ejb3-persistence.jar】
【hibernate3.jar】
【hibernate-annotations.jar】
【hibernate-commons-annotations.jar】
【hibernate-entitymanager.jar】
【hibernate-validator.jar】

注意:一定要把这些包从该文件夹中删除,而不是重命名,因为重命名后还会被JBOSS加载
2、确保EAR包中的jbossall-client包已经被删除
3、常见的错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [META-INF/spring/persistence-context.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: java.util.Set, for columns: [org.hibernate.mapping.Column(bizSystemBindings)]

我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www..net/j2ee/10759.html