alfresco - Getting error while adding custom model in amp file -


i want add custom model in amp file getting following error -

org.springframework.beans.factory.beancreationexception: error creating bean name 'xyz.dictionarybootstrap' defined in class path resource [alfresco/module/xyz/context/service-context.xml]: invocation of init method failed; nested exception org.alfresco.service.cmr.dictionary.dictionaryexception: 05050000 not find bootstrap model config/alfresco/module/xyz/models/xyzcontentmodel.xml @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1420) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:519) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:456) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:291)

error indicates xyzcontentmodel.xml missing path given in model-context.xml, have double checked , in amp file, xyzcontentmodel.xml @ given path.

i using alfresco 4.0d version on windows x64

thanks replies,

problem in model-context.xml file, problem solved removing config path of xyzcontentmodel.xml

changed path of xyzcontentmodel.xml in model-context.xml

config/alfresco/module/com.diipl.percept.alfresco/models/perceptcontentmodel.xml

to

alfresco/module/com.diipl.percept.alfresco/models/perceptcontentmodel.xml


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -