AnsweredAssumed Answered

Unable to load dictionaryModelBootstrap spring bean

Question asked by kartech11 on Jun 20, 2018
Latest reply on Jun 20, 2018 by kartech11

I currently have built the alfter SDK project for version 3.0.1. I have setup my project in Intellij.

The default bootstrap-context.xml file in the platforms module show an error that it cannot load dictionaryModelBootstrap spring bean and similarly the dependency dictionaryBootstrap .

 

Similarly it isnt able to recognise the property name="labels" .

 

I am not sure what the issue is? Should I make any changes to the default bootstrap file?

 

<?xml version='1.0' encoding='UTF-8'?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

    <!-- The bootstrap-context.xml file is used for patch definitions, importers,
       workflow, and loading custom content models.  -->

    <!-- Registration of new models -->
    <bean id="iceberg-alfresco-platform-jar.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/module/${project.artifactId}/model/content-model.xml</value>
                <value>alfresco/module/${project.artifactId}/model/workflow-model.xml</value>
            </list>
        </property>
        <property name="labels">
            <list>
                <!-- Bootstrap Resource Bundles for the content model types, aspects, properties etc -->
                <value>alfresco/module/${project.artifactId}/messages/content-model</value>
            </list>
        </property>
    </bean>

Outcomes