BPMN20.xsd not found/accessible in jar

Thanks for the quick reply!
I have found another post that fixes the problem without having to re-engineer the pipeline - Camunda cannot read XSD when running a packaged Spring Boot application

Apparently, we need to add the version of the spring-boot-maven-plugin in the pom.xml

<build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                **<version>2.0.1.RELEASE</version>**
                <configuration>
                    <layout>ZIP</layout>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
1 Like