读书人

tomcat 起步 不能解决占位符“host.na

发布时间: 2014-01-17 00:06:00 作者: rapoo

tomcat 启动 不能解决占位符“host.name”
问题:
org.springframework.beans.factory.beanDefinitionStoreException: Invalid bean deinition with name 'ticketGrantingTicketUniqueIdGenerator' defined in ServletContext resource [web-inf/spring-configuration/uniqueIdGenerators.xml]:could not resolve placeholder 'host.name'

tomcat 起步 不能解决占位符“host.name”
[解决办法]
多次placeholder配置文件了吧。<context:property-placeholder加上ignore-unresolvable="true"看看

读书人网 >J2EE开发

热点推荐