在SSH框架中遇到这种错误
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
是你的那个<aop:advisor pointcut="execution(* com.system..service.*.*(..))"中的service类没有在包中