Good afternoon, everyone. How's it going? I'm work...
# questions
f
Good afternoon, everyone. How's it going? I'm working on a project using Grails 2.5.6. We're currently in the process of upgrading to Grails 4. However, when generating the WAR file for this project, I'm encountering the following error:
Copy code
| Error WAR packaging error: archive contains more than 65535 entries.
From what I understand, this error is due to a limitation in the ZIP format. I saw some recommendations to use ZIP64, but it seems it's not supported in my current version. Does anyone know of any alternative solutions to resolve this issue?
j
What's in your war file that's so large? Can you pull out a subproject into a separate jar and nest it that way?
nesting jar files by using a subproject is probably the best solution
f
Good afternoon! We ended up opting to use the property:
grails.war.exploded=true
With it, the WAR file is not zipped, and after the compilation, we manually create the zip. Since the goal is to migrate to Grails 4, this was the quickest and easiest path.
👍 1