Error with bean creating
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2015 05:50 AM
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
).
When I try to do "mvn install", it writes me errors while running tests.
I can't understand what is causing error.
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

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 isorg.alfresco.service.cmr.dictionary.DictionaryException: 07240001Could not import bootstrap model alfresco/module/content-tutorial-repo/model/scModel.xml
I can't understand what is causing error.
Labels:
- Labels:
-
Archive
alfresco_99.log.zip
3 KB
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2015 11:17 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2015 03:15 AM
So shameful error… 
Haven't replace all the wrong dashes copied from tutorial PDF.
Thank you! Build succes. I'll go study further.

Haven't replace all the wrong dashes copied from tutorial PDF.
Thank you! Build succes. I'll go study further.
