<?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: Error when trying to run Simple Example.java in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188984#M142114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now all jars are in the classpath but i still get this known error, even when i limit the example to this line: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public class SimpleExample {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Problem &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplicationContext context = ApplicationContextHelper.getApplicationContext();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;}&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;/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;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [alfresco/application-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist&lt;BR /&gt;java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I recognized several threads to this problem and refering to this &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API#Mixing_JCR_and_Alfresco_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API#Mixing_JCR_and_Alfresco_APIs&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;i assume, that i have to build the "alfresco-jcr.jar" but dont have a glue how to do this. (i have downloaded the whole alfresco project from &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the svn resource)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please give me a hint. Thank you again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 15:31:22 GMT</pubDate>
    <dc:creator>robobot</dc:creator>
    <dc:date>2009-01-20T15:31:22Z</dc:date>
    <item>
      <title>Error when trying to run Simple Example.java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188982#M142112</link>
      <description>Hello there, i tried to run this Example that ships with the SDK JCR Samples:/* * Copyright (C) 2005-2007 Alfresco Software Limited. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Fou</description>
      <pubDate>Tue, 20 Jan 2009 14:16:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188982#M142112</guid>
      <dc:creator>robobot</dc:creator>
      <dc:date>2009-01-20T14:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to run Simple Example.java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188983#M142113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Assume you are running it from within Eclipse. json.jar and couple of other jars are included in Alfresco Embedded, but have not been added to the project build path. Just need to add them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 14:41:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188983#M142113</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2009-01-20T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to run Simple Example.java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188984#M142114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now all jars are in the classpath but i still get this known error, even when i limit the example to this line: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public class SimpleExample {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Problem &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplicationContext context = ApplicationContextHelper.getApplicationContext();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;}&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;/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;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [alfresco/application-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist&lt;BR /&gt;java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I recognized several threads to this problem and refering to this &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API#Mixing_JCR_and_Alfresco_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API#Mixing_JCR_and_Alfresco_APIs&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;i assume, that i have to build the "alfresco-jcr.jar" but dont have a glue how to do this. (i have downloaded the whole alfresco project from &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the svn resource)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please give me a hint. Thank you again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 15:31:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-when-trying-to-run-simple-example-java/m-p/188984#M142114</guid>
      <dc:creator>robobot</dc:creator>
      <dc:date>2009-01-20T15:31:22Z</dc:date>
    </item>
  </channel>
</rss>

