<?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 Re: initialization problem of the application context of the API alfresco repository version 6.X or 7.X in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99599#M28871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EDIT: Looks as if Axel and I replied around the same time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please carefully check your pom dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're trying to compile &amp;amp;/or test&amp;nbsp;run using latest alfresco-repository-7.78, you should use other matching dependencies (alfresco-data-model, alfresco-core, spring framework, etc) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-repository/blob/alfresco-repository-7.78/pom.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-repository/blob/alfresco-repository-7.78/pom.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... as an example, you should use Spring Framework &lt;A href="https://github.com/Alfresco/alfresco-repository/blob/alfresco-repository-7.78/pom.xml#L49" rel="nofollow noopener noreferrer"&gt;5.1.8&lt;/A&gt; (not 4.1.0). Similarly for all other required dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. you might find it easier to start with the &lt;A href="https://github.com/Alfresco/alfresco-sdk" rel="nofollow noopener noreferrer"&gt;Alfresco (Maven) SDK &lt;/A&gt;before trimming down, if needed ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 11:26:43 GMT</pubDate>
    <dc:creator>janv</dc:creator>
    <dc:date>2019-07-08T11:26:43Z</dc:date>
    <item>
      <title>initialization problem of the application context of the API alfresco repository version 6.X or 7.X</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99597#M28869</link>
      <description>Hi to all!When I want to initialize the #application context of the API #alfresco repository version 6.X or 7.X (I have tested the lastest version 7.78 and the version 6.57), I have these errors:Configuration problem: Failed to import bean definitions from URL location [classpath:alfresco/applicatio</description>
      <pubDate>Sun, 07 Jul 2019 22:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99597#M28869</guid>
      <dc:creator>compiii</dc:creator>
      <dc:date>2019-07-07T22:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: initialization problem of the application context of the API alfresco repository version 6.X or 7.X</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99598#M28870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a) This kind of use of Alfresco is highly non-standard. Alfresco has not been designed to be used as an embeddable component. It can be used that way, but requires extensive understanding of the platform / product to get right.&lt;/P&gt;&lt;P&gt;b) You are using different versions of libraries than what Alfresco uses (e.g. Alfresco uses Spring 5 nowadays)&lt;/P&gt;&lt;P&gt;c) cp1252, really? It is 2019 - use UTF-8 and kill all the legacy encodings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short: Don't try to integrate Alfresco by embedding it into some project. Integrate by usings its ReST APIs. Or - if you want to develop an extension - use the Alfresco SDK to create a project structure to do that in the proper way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 11:23:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99598#M28870</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-07-08T11:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: initialization problem of the application context of the API alfresco repository version 6.X or 7.X</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99599#M28871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EDIT: Looks as if Axel and I replied around the same time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please carefully check your pom dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're trying to compile &amp;amp;/or test&amp;nbsp;run using latest alfresco-repository-7.78, you should use other matching dependencies (alfresco-data-model, alfresco-core, spring framework, etc) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-repository/blob/alfresco-repository-7.78/pom.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-repository/blob/alfresco-repository-7.78/pom.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... as an example, you should use Spring Framework &lt;A href="https://github.com/Alfresco/alfresco-repository/blob/alfresco-repository-7.78/pom.xml#L49" rel="nofollow noopener noreferrer"&gt;5.1.8&lt;/A&gt; (not 4.1.0). Similarly for all other required dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. you might find it easier to start with the &lt;A href="https://github.com/Alfresco/alfresco-sdk" rel="nofollow noopener noreferrer"&gt;Alfresco (Maven) SDK &lt;/A&gt;before trimming down, if needed ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 11:26:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/initialization-problem-of-the-application-context-of-the-api/m-p/99599#M28871</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2019-07-08T11:26:43Z</dc:date>
    </item>
  </channel>
</rss>

