<artifactId>spring-boot-starter-web</artifactId>
</dependency>
-
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
@SpringBootApplication
@ImportResource("classpath:root-context.xml")
-@EnableAutoConfiguration
+@EnableAutoConfiguration(exclude = {
+ org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class,
+ org.springframework.boot.actuate.autoconfigure.ManagementWebSecurityAutoConfiguration.class})
public class ServerMQ {
public static void main(String[] args) {