wildfly-extras / wildfly-jar-maven-plugin

WildFly Bootable JAR
https://docs.wildfly.org/bootablejar/
Apache License 2.0
57 stars 40 forks source link

ZipException because of missing module.xml #329

Closed lazyrobert closed 1 year ago

lazyrobert commented 2 years ago

`

org.wildfly.plugins wildfly-jar-maven-plugin 8.0.0.Final wildfly@maven(org.jboss.universe:community-universe)#26.1.2.Final true package dev-watch

`

INFO: WFLYSRV0025: WildFly Full 26.1.2.Final (WildFly Core 18.1.2.Final) started in 2656ms - Started 29 of 32 services (3 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml 10月 02, 2022 5:32:15 下午 org.jboss.as.controller.AbstractOperationContext executeStep

ERROR: WFLYCTL0013: Operation ("add") failed - address: ([("extension" => "org.wildfly.extension.undertow")])

Caused by: org.jboss.modules.ModuleLoadException: Error loading module from D:\target\bootable-jar-build-artifacts\wildfly\modules\system\layers\base\org\glassfish\jakarta\el\main\module.xml

Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to add resource root 'unnamed' at path 'jakarta.el-3.0.3.jbossorg-4.jar' (position: END_TAG seen ...\n ... @37:25) caused by: java.util.zip.ZipException: zip END header not found

Caused by: java.util.zip.ZipException: zip END header not found

jfdenise commented 2 years ago

Hi @lazyrobert , could you provide the pom.xml, the traces of the execution and the maven command you are calling? Thank-you.