cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Willerding <>
Subject Re: Cayenne runtime error with DI
Date Thu, 12 Oct 2017 17:04:24 GMT
Thank you so much Nikita!  That did the trick!  I would never have been 
able to figure this out on my own.

I'm new to Maven as a build tool and I've never heard of the shade 
plugin.  When I was trying to figure out how to build a JAR file with 
all dependencies I found this method via a Google search which seemed to 
do the trick except for this project.  Out of curiosity, why would 
adding the Java8 module explicitly allow Cayenne to find the dependencies?

                         <!--id>make-assembly</id--> <!--
this is used 
for inheritance merges -->
                         <phase>package</phase> <!--
bind to the 
packaging phase -->

On 12/10/17 12:51 PM, Nikita Timofeev wrote:
> ServerRuntime.builder().addModule(new Java8Module())

View raw message