FMP is not able to find the Main class of WildFly Swarm application
arun-gupta opened this issue · 0 comments
arun-gupta commented
Building a Docker image for a WildFly Swarm application using FMP. Here is the fragment from pom.xml:
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${version.fabric8.maven.plugin}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Main
class for the WildFly Swarm application is not found.
The directory structure of the Docker image, the Java command and the error are explained at aws-samples/aws-microservices-deploy-options#5.
This is a blocking issue.