Caused by:
org.hibernate.AnnotationException: No identifier specified for entity: com.demo.module.User
出错时由于在entity类里面没有设置@ID
Caused by:
Error building results for action assemble in namespace / - action - file:/C:/springSourceCode/AssembleDemo/src/main/web
app/WEB-INF/classes/struts.xml:11:49
这个错误原因是由于没在struts.xml中的package元素中没加入extends="struts-default"