美文网首页
grails项目打包异常:encoded string too

grails项目打包异常:encoded string too

作者: 在路上的小海贼 | 来源:发表于2018-11-28 11:56 被阅读0次

    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