1.The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)"
原因也许是由于xml元素顺序没有按照固定顺序书写。
在这个错误提示中,property必须在mapping前面,event又必须在listener前面。
1.The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)"
原因也许是由于xml元素顺序没有按照固定顺序书写。
在这个错误提示中,property必须在mapping前面,event又必须在listener前面。