<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic problem with examples in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4131#M517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a problem with the build process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I do a Project &amp;gt; Clean, running the SimpleExampleWithContent causes the following java error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'NamespaceService' defined in class path resource [alfresco/public-services-context.xml]: Can't resolve reference to bean 'namespaceService' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/application-context.xml]: Initialization of bean failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: Could not import bootstrap model alfresco/model/dictionaryModel.xml&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/application-context.xml]: Initialization of bean failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: Could not import bootstrap model alfresco/model/dictionaryModel.xml&lt;BR /&gt;org.alfresco.service.cmr.dictionary.DictionaryException: Could not import bootstrap model alfresco/model/dictionaryModel.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if I do a minor source code change, it rebuilds part of the project and then the example works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To complicate matters I went through the "Step by Step Model Definition" tutorial &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/mediawiki/index.php/Data_Dictionary_Guide#Content_Model_XML_Explained" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/mediawiki/index.php/Data_Dictionary_Guide#Content_Model_XML_Explained&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;here&amp;lt;/a&amp;gt; and I am getting the same "cannot import bootstrap model" error for your sample exampleModel.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This one, however, does not go away when I force the project to be rebuilt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2005 20:28:21 GMT</pubDate>
    <dc:creator>ctanis</dc:creator>
    <dc:date>2005-10-06T20:28:21Z</dc:date>
    <item>
      <title>problem with examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4131#M517</link>
      <description>I'm having a problem with the build process:If I do a Project &amp;gt; Clean, running the SimpleExampleWithContent causes the following java error:Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'NamespaceService' defined in class path re</description>
      <pubDate>Thu, 06 Oct 2005 20:28:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4131#M517</guid>
      <dc:creator>ctanis</dc:creator>
      <dc:date>2005-10-06T20:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: problem with examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4132#M518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using the Eclipse project files we ship with the source bundle?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also try doing a Refresh of the project, this often solves build issues for me in Eclipse.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2005 13:49:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4132#M518</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2005-10-07T13:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem with examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4133#M519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i am using the provided eclipse files.&amp;nbsp; the refresh does fix the first problem. thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still having a problem getting it to load the exampleModel.&amp;nbsp; Is there perhaps an incompatibility between the provided exampleModel.xml on the wiki page and the current build?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2005 15:26:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4133#M519</guid>
      <dc:creator>ctanis</dc:creator>
      <dc:date>2005-10-12T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: problem with examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4134#M520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i just realized the RC1 was out.&amp;nbsp; feel free to ignore last post .. at least temporarily&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2005 16:02:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4134#M520</guid>
      <dc:creator>ctanis</dc:creator>
      <dc:date>2005-10-12T16:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4135#M521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a minor problem with the exampleModel.xml on the wiki that you may want to repair.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The xmlns for the model element is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example is working here now, after changing it to the same xmlns from the other model xml's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2005 17:56:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4135#M521</guid>
      <dc:creator>ctanis</dc:creator>
      <dc:date>2005-10-12T17:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4136#M522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting this.&amp;nbsp; Will test and fix.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 11:09:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-examples/m-p/4136#M522</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2005-10-13T11:09:19Z</dc:date>
    </item>
  </channel>
</rss>

