cancel
Showing results for 
Search instead for 
Did you mean: 

Error with bean creating

kino-nnov
Champ in-the-making
Champ in-the-making
Hello.
I'm new to the Alfresco, Java and BPMN. Now I'm studying Jeff Pott's Tutorials. And I have troubles with the first simple tutorial: Working With Custom Content Types in Alfresco (April, 2015).
I've created everything like it is written in the tutorial. BTW, Jeff, copying and pasting XML code from PDF to Eclipse causing parsing errors with dashes. Maybe, it's encoding conversion issue (I'm living in CP1251 region Smiley Happy ).
When I try to do "mvn install", it writes me errors while running tests.


Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'content-tutorial-repo_dictionaryBootstrap'
defined in class path resource [alfresco/module/content-tutorial-repo/context/service-context.xml]:
Invocation of init method failed; nested exception is
org.alfresco.service.cmr.dictionary.DictionaryException: 07240001
Could not import bootstrap model alfresco/module/content-tutorial-repo/model/scModel.xml


I can't understand what is causing error.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Caused by: java.io.UnsupportedEncodingException: UTF???8

Your model file is in the wrong encoding.   Probably at the top it will specify <?xml version="1.0" encoding="UTF-8"?>

But then you have saved the contents in another encoding.

kino-nnov
Champ in-the-making
Champ in-the-making
So shameful error… Smiley Sad
Haven't replace all the wrong dashes copied from tutorial PDF.
Thank you! Build succes. I'll go study further.