He creado dos modelos de contenido A y B. Necesito importar el modelo A en el modelo B para poder crear una asociación entre un tipo de contenido de mi modelo B con uno del modela A.
Realizo la importación de la siguiente manera:
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
<import uri="(URI DEFINIDA EN EL NAMESPACE AL CREAR EL MODELO A)" prefix="(PREFIJO DEFINIDO)"/>
</imports>
Al reiniciar me da el siguiente error:
org.alfresco.service.namespace.NamespaceException: URI (URI DEFINIDA EN EL NAMESPACE AL CREAR EL MODELO A) cannot be imported as it is not defined (with prefix (PREFIJO DEFINIDO)
En el bootstrap-context.xml estan definido de la siguiente forma
<bean id="cu.models.alfresco.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>
alfresco/module/mi_proyecto/models/A.xml
</value>
<value>
alfresco/module/mi_proyecto/models/B.xml
</value>
</list>
</property>
</bean>
Qué debo hacer para subsanar este error?