【发布时间】:2015-10-06 07:49:32
【问题描述】:
我是在 application.properties 文件中配置诸如 connectionTimeout 之类的属性,还是在其他地方进行配置?我无法从 Google 中弄清楚这一点。
我找到了这个 Spring-Boot example,但它不包含 connectionTimeout 属性,当我在 application.properties 文件中设置 server.tomcat.connectionTimeout=60000 时出现错误。
【问题讨论】:
-
"org.springframework.beans.factory.BeanCreationException: 创建名为 'tomcatEbeddedServletContainerFactory' 的 bean 时出错... bean 属性 'connectionTimeout' 不可写或设置方法无效"
标签: java spring tomcat spring-boot tomcat8