HTTP Status 500 - Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
添加
<init-param>
<param-name> flushMode </param-name>
<param-value>AUTO </param-value>
</init-param>
后没有作用