添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
斯文的数据线  ·  Preparing for ...·  2 天前    · 
低调的海豚  ·  'java.sql.SQLException ...·  4 周前    · 
朝气蓬勃的圣诞树  ·  Embed an Excel file ...·  4 周前    · 
一身肌肉的钥匙扣  ·  Error when saving ...·  1 月前    · 
英勇无比的大蒜  ·  Unable to save a page ...·  1 月前    · 
酷酷的猴子  ·  论文列表·  1 月前    · 
飞奔的可乐  ·  GitHub - ...·  2 月前    · 
纯真的仙人掌  ·  Bug Patterns - Find ...·  5 月前    · 
英俊的蚂蚁  ·  Netty :: Apache Camel·  9 月前    · 
含蓄的枇杷  ·  【文章】产品力尚可 ...·  1 年前    · 
2014-07-06 22:37:01,252 ERROR [main] [ContainerBase.[Standalone].[localhost].[/]] log Exception sending context initialized event to listener instance of class com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'luceneConnection' defined in class path resource [indexingSubsystemContext.xml]: 
Could not resolve placeholder 'localHome'

In Confluence 5.5 and above, the variable that refers to the Home Directory is "localHome". However, in earlier versions of Confluence, the variable is "confluenceHome". It's possible that a configuration file was accidentally copied from a newer version of Confluence to an older one.

Cause 2

The following message appears in the atlassian-confluence.log:

2019-10-30 07:54:51,839 ERROR [Catalina-utility-1] [ContainerBase.[Standalone].[localhost].[/]] log Exception sending context initialized event to listener instance of class [com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener]
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'tenantedLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Could not resolve placeholder 'lucene.index.dir' in value "${lucene.index.dir}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'lucene.index.dir' in value "${lucene.index.dir}"

The index path is missing in confluence.cfg.xml file.

Resolution 1

  1. Shutdown Confluence.
  2. Open confluence.cfg.xml in a text editor
  3. Use your text editor to find all instances of localHome and replace them with confluenceHome
  4. Here's a property in confluence.cfg.xml that was showing the incorrect value:

  5. After making changes to the file, save it, then How to Rebuild the Content Indexes From Scratch on Confluence Server.

  6. Check if the error will persists.

Resolution 2

  1. Shutdown Confluence.
  2. Open confluence.cfg.xml in a text editor
  3. Add the following property in confluence.cfg.xml if it was missing or is improperly defined: