1
を「追加操作のためのキーを定義する必要があります」私はエラーを次取得:アリfresh_install上の誤りや蟻更新
test_database:
[java] Failure during kernel init: Key for add operation must be defined!
[java] java.lang.IllegalArgumentException: Key for add operation must be defined!
[java] at org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420)
[java] at org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383)
[java] at org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423)
[java] at org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271)
[java] at org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252)
[java] at org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943)
[java] at org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:793)
[java] at org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626)
[java] at org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958)
[java] at org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739)
[java] at org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setProperty(DSpaceConfigurationService.java:354)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setDynamicProperties(DSpaceConfigurationService.java:539)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:504)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.<init>(DSpaceConfigurationService.java:87)
[java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:148)
[java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128)
[java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49)
[java] Exception in thread "main" java.lang.IllegalStateException: Failure during kernel init: Key for add operation must be defined!
[java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:65)
[java] Caused by: java.lang.IllegalArgumentException: Key for add operation must be defined!
[java] at org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420)
[java] at org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383)
[java] at org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423)
[java] at org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271)
[java] at org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252)
[java] at org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943)
[java] at org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:793)
[java] at org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626)
[java] at org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958)
[java] at org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739)
[java] at org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setProperty(DSpaceConfigurationService.java:354)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setDynamicProperties(DSpaceConfigurationService.java:539)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:504)
[java] at org.dspace.servicemanager.config.DSpaceConfigurationService.<init>(DSpaceConfigurationService.java:87)
[java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:148)
[java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128)
[java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49)
BUILD FAILED
/Users/uttam/Desktop/Epub/edoc-dspace-source/dspace/target/dspace-
installer/build.xml:792: Java returned: 1
私が働いたdSPACEがあったが、私はDSpaceのデータベースをきれいにした後、私はこのエラーを取得しておきますメッセージ。私はきれいな拭き取り後にpostgresqlを再インストールするのに疲れているが、私はこのエラー、これを引き起こしているかもしれない何かの提案を取得し続けている?
ここから、最初から起動したい場合は、 "mvn package"は動作しますが、その後は "ant fresh_install"がこのエラーをスローします。