Hazelcast and spring boot -


i'm using spring boot 1.3.3 , hazelcast build looks like:

            <plugin>             <groupid>org.springframework.boot</groupid>             <artifactid>spring-boot-maven-plugin</artifactid>             <version>${spring.boot.version}</version>             <configuration>                 <executable>true</executable>                 <layout>zip</layout>                 <embeddedlaunchscriptproperties>                     <mode>service</mode>                     <usestartstopdaemon>false</usestartstopdaemon>                 </embeddedlaunchscriptproperties>             </configuration>             <executions>                 <execution>                     <goals>                         <goal>repackage</goal>                     </goals>                 </execution>             </executions>         </plugin>          <dependency>             <groupid>com.hazelcast</groupid>             <artifactid>hazelcast-all</artifactid>             <version>${hazelcast.version}</version>         </dependency> 

when service executed in linux see in log:

org.springframework.web.util.nestedservletexception: handler processing failed; nested exception java.lang.noclassdeffounderror: com/hazelcast/cluster/impl/operations/wanreplicationoperation     @ org.springframework.web.servlet.dispatcherservlet.triggeraftercompletionwitherror(dispatcherservlet.java:1302) ~[spring-webmvc-4.2.4.release.jar!/:4.2.4.release]     @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:977) ~[spring-webmvc-4.2.4.release.jar!/:4.2.4.release] 

but see hazelcast-all.jar in fat jar clue?

the issue caused spring-boot script. due fact service stop didnt kill process , still alive start failed execute , throw such exception in logs. still dont understand why cant find hazelcast classes , rest ok


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -