fmarchioni / mastertheboss

Source code for mastertheboss.com
MIT License
197 stars 581 forks source link

can't deploy springboot3wildfly on wildfly 28 #70

Closed ratuka closed 1 year ago

ratuka commented 1 year ago
Dispatcher error: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"springbootwildfly.war\".undertow-deployment" => "java.lang.ExceptionInInitializerError
    Caused by: java.lang.ExceptionInInitializerError
    Caused by: java.lang.IllegalStateException: Could not detect JBoss VFS infrastructure
    Caused by: java.lang.ClassNotFoundException: org.jboss.vfs.VFS from [Module \"deployment.springbootwildfly.war\" from Service Module Loader]"}}
fmarchioni commented 1 year ago

Resolved. Until WFCORE-6326 is fixed, you need to add

<jboss-deployment-structure>
  <deployment>
      <dependencies>
         <module name="org.jboss.vfs" />
      </dependencies>
    </deployment>
</jboss-deployment-structure>