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'
------解决方案--------------------多次placeholder配置文件了吧。<context:property-placeholder加上ignore-unresolvable="true"看看