lambda-maven-plugin icon indicating copy to clipboard operation
lambda-maven-plugin copied to clipboard

A required class was missing while executing com.github.seanroy:lambda-maven-plugin

Open leewalton opened this issue 4 years ago • 1 comments

Just trying out this plugin for the first time.

However, when I try and perform a deployment I get the following error: A required class was missing while executing com.github.seanroy:lambda-maven-plugin:2.3.3:deploy-lambda: javax/xml/bind/JAXBException

Solved by adding a dependency as follows:

            <plugin>
                <groupId>com.github.seanroy</groupId>
                <artifactId>lambda-maven-plugin</artifactId>
                <version>2.3.3</version>
                <dependencies>
                    <dependency>
                        <groupId>javax.xml.bind</groupId>
                        <artifactId>jaxb-api</artifactId>
                        <version>2.3.1</version>
                    </dependency>
                </dependencies>
                ....
            </plugin>

leewalton avatar Mar 26 '20 08:03 leewalton

This is due to JAXB being removed in JDK 11. I got the same error after upgrading the JDK on a project.

refacktor avatar Apr 19 '20 23:04 refacktor