500 服务器内部错误
org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:333)
主要错误信息如下:
Caused by: com.mysql.cj.jdbc.exceptions.PacketTooBigException: Packet for query is too large (1,048,655 > 1,048,576). You can change this value on the server by setting the 'max_allowed_packet' variable.
...
at com.jspxcms.core.service.impl.SiteServiceImpl$$EnhancerBySpringCGLIB$$846a3768.updateCustoms(<generated>)
大致推测是因为在修改站点自定义字段时,录入的内容过多导致。