Camunda cannot read XSD when running a packaged Spring Boot application

Hi!

Yes. In the pom.xml file I added the version (<version>2.0.1.RELEASE</version>) into the following block:

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <layout>ZIP</layout>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

After the change, this code block looks like this:

<build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>2.0.1.RELEASE</version>

Thereafter mvn clean compile package started to work again.

Please tell me whether or not this fix works for you.

Best regards

Dmitrii Pisarenko

1 Like