grails项目中打包部署时报错如下:
Error occurred running Grails CLI: encoded string too long: 74118 bytes
经查,grails的gsp页面最大不能超过64k,这个应该是java的jdk限制,因为部署时gsp页面最终还是会转成class文件。
解决方法:拆分页面,使用include包含即可。
grails项目中打包部署时报错如下:
Error occurred running Grails CLI: encoded string too long: 74118 bytes
经查,grails的gsp页面最大不能超过64k,这个应该是java的jdk限制,因为部署时gsp页面最终还是会转成class文件。
解决方法:拆分页面,使用include包含即可。
本文标题:grails项目打包异常:encoded string too
本文链接:https://www.haomeiwen.com/subject/vxeaqqtx.html
网友评论