标签:ase exce git code lan java auto html reference
如果希望使用自定义的RequestMappingHandlerMapping
,RequestMappingHandlerAdapter
,或ExceptionHandlerExceptionResolver
,你可以声明一个WebMvcRegistrationsAdapter
实例提供这些组件。
org\springframework\boot\spring-boot-autoconfigure\2.0.0.M5\spring-boot-autoconfigure-2.0.0.M5.jar中WebMvcRegistrationsAdapter被废弃了。因为WebMvcRegistrations
接口可以有默认的方法了(Java8的特性)。
as of 2.0.0 WebMvcRegistrations
has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter
标签:ase exce git code lan java auto html reference
原文地址:http://www.cnblogs.com/niaomingjian/p/7753804.html