cancel
Showing results for 
Search instead for 
Did you mean: 

Problem loading custom content model

rajd
Champ in-the-making
Champ in-the-making
Hello all,

I'm quite new to Alfresco; I'm leaning to know the product with two books I recently acquired from PacktPub.

Currently I'm reading Jeff Pott's "Alfresco for developers" and I'm running into some problems. At some stage a custom model needs to be loaded into Alfresco. After deploying the examples using Ant, I cannot start Alfresco.

From the logs I gather this:

09:58:20,491  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'someco.dictionaryBootstrap' defined in file [/opt/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/someco-model-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 09090000 Could not find bootstrap model alfresco/extension/model/scModel2.xml>
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 09090000 Could not find bootstrap model alfresco/extension/model/scModel.xml

This happens to both the model I defined myself as to the source code I downloaded from the PacktPub website (so I'm ruling syntax errors out).

What could I be doing wrong? Why can't the scModel.xml file be found? The file is there and should be in the correct location?

I'm using Alfresco 3.2 CE.

Best, Raj
1 REPLY 1

norgan
Champ in-the-making
Champ in-the-making
check in the filesystem <yourappserver>/webapps/alfresco/WEB-INF/classes/alfresco/extensions/model….