lundi 2 mars 2015

Class 'org.springframework.boot.autoconfigure.web.HttpMapperProperties' is marked deprecated?

I have created a sample Spring Boot 1.2.2 project using the Spring Initializr (http://start.spring.io/) and inside the auto-created application class:



package demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DemoApplication {

public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}


I get this warning:



Class 'org.springframework.boot.autoconfigure.web.HttpMapperProperties' is marked deprecated



Why? How to get rid of it?


Aucun commentaire:

Enregistrer un commentaire