javax.persistence.PersistenceException: No Persistence provider for EntityManage

还发工具:IDEA14+jdk1.7。

文件结构以及hibernate对应的jar包:如附件中的各图所示。

persistence.xml代码:


   
   	  org.hibernate.ejb.HibernatePersistence
      
          
         		
		 
		 
		 
         
	     
	      

	     
	     
	     
	     

      
   

 在启动tomcat时,出现异常:Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named j2cmsSSH

具体异常信息图4所示:

你可能感兴趣的:(S2SH整合异常,cms,j2cmsSSH,异常)