Exclude axon-server-connector in Spring boot

Hi all,

Is there any way to exclude axon-server-connector in spring boot and run as tomcat/wildfly 10 … ? Could you please provide me any examples would be great and needful help .

/Saraga

Saraga,
excluding dependencies in Maven is described in detail here. For this specific case you should put the dependency in your pom.xml somewhat as follows:

org.axonframework axon-spring-boot-starter ${axon.version} org.axonframework axon-server-connector

Please note that if your goal is to run your app in Wildfly, Spring-boot will not work. You can however use the Spring framework, or leave that out and depend on JEE (or micro-profile) only. Configuration in such an environment is somewhat supported using the CDI extension, but it is in ALPHA.

Cheers,
Bert