是否已将类'org.springframework.boot.autoconfigure.web.HttpMapperProperties'标记为已弃用?

托尼克斯

我已经使用Spring Initializr(http://start.spring.io/)在自动创建的应用程序类中创建了一个示例Spring Boot 1.2.2项目

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);
    }
}

我收到此警告:

类'org.springframework.boot.autoconfigure.web.HttpMapperProperties'被标记为已弃用

为什么?如何摆脱它?

德里斯·阿姆里

您可以放心地忽略此警告,因为它将在IDE-1366中针对STS 3.7.0版修复

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

导入org.springframework.boot.autoconfigure.web.ErrorAttributes无法解析

找不到类org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration]

类路径资源[org / springframework / boot / autoconfigure / web / ServerPropertiesAutoConfiguration.class]无法打开,因为它不存在

SpringBoot 2.0.0.RELEASE中的org.springframework.boot.autoconfigure.web.ErrorAttributes

在类路径资源[org / springframework / boot / autoconfigure / jdbc / DataSourceConfiguration $ H中定义的BeanDefinition中定义的bean'dataSource'

java.lang.NoSuchMethodException:org.springframework.boot.autoconfigure.http.HttpMessageConverters

创建名称为'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration'的bean时出错:

java.lang.IllegalStateException:org.springframework.boot.autoconfigure.jdbc.JndiDataSourceAutoConfiguration上的错误处理条件

org.springframework.boot.actuate.autoconfigure.metrics.MetricsEndpointAutoConfiguration上的错误处理条件

org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration上的错误处理条件

春季启动数据库错误数据源“org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration”

为什么org.springframework.boot不能导入,而org.springframework.web可以导入?

org.springframework.boot.web.support不存在

org.springframework.boot.web.support.does 不存在

matchMedia()。addListener标记为已弃用,addEventListener是否等效?

找不到org.springframework.web.context.ContextLoaderListener类

找不到类org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer

Spring Boot org.springframework.web.util.NestedServletException:请求处理失败

Spring Boot 1.5.3 NoSuchMethodError:org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.getResponseStatus()

org.springframework.boot.web.embedded.tomcat.ConnectorStartFailedException上IDEA终极2019.3

NoSuchBeanDefinitionException:没有可用的'org.springframework.boot.web.reactive.error.ErrorAttributes'类型的合格bean:

可以基于JRE / JVM版本将我的类/方法标记为已弃用吗?

是否可以将整个const块标记为已弃用?

Tomcat和Spring Web-找不到类异常org.springframework.web.context.ContextLoaderListener

cAdvisor Web UI是否已弃用

java.lang.IllegalArgumentException异常:无法实例工厂类:org.springframework.boot.env.EnvironmentPostProcessor

Spring Boot:无法自检类org.springframework.cloud.netflix.zuul.ZuulConfiguration上的带注释的方法

错误[org.springframework.web.servlet.DispatcherServlet]

org.springframework.web.servlet.DispatcherServlet noHandlerFound