<?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 Simple Evaluator doesn't work...Java class not found in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/simple-evaluator-doesn-t-work-java-class-not-found/m-p/307248#M260378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Referring to this article on the Alfresco Documentation, i'm trying to load a simple evaluator to hide a component in the UI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fdev-extensions-share-tutorials-subcomponent-evals.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fdev-extensions-share-tutorials-subcomponent-evals.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco 4.2.c Community and i think i have deployed all successfully:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Java classes in a jar in C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- extension-modules.xml in C:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\extensions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- spring-surf-extensibility-context.xml in C:\Alfresco\tomcat\webapps\share\WEB-INF\classes\org\springframework\extensions\surf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Share won't start[HTTP Status 404 - /share] and this is the error in the alfrescotomcat-stdout:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;2014-03-04 12:42:33,197&amp;nbsp; ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed&lt;BR /&gt;org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [it.evaluator.SiteMembersEvaluator] &lt;BR /&gt;for bean with name 'beans.evaluator' defined in file &lt;BR /&gt;[C:\Alfresco\tomcat\webapps\share\WEB-INF\classes\org\springframework\extensions\surf\spring-surf-extensibility-context.xml]; &lt;BR /&gt;nested exception is java.lang.ClassNotFoundException: it.evaluator.SiteMembersEvaluator&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please give me some hints to make it work!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 11:54:54 GMT</pubDate>
    <dc:creator>dave984</dc:creator>
    <dc:date>2014-03-04T11:54:54Z</dc:date>
    <item>
      <title>Simple Evaluator doesn't work...Java class not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-evaluator-doesn-t-work-java-class-not-found/m-p/307248#M260378</link>
      <description>Referring to this article on the Alfresco Documentation, i'm trying to load a simple evaluator to hide a component in the UI:http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fdev-extensions-share-tutorials-subcomponent-evals.htmlI'm using Alfresco 4.2.c Community</description>
      <pubDate>Tue, 04 Mar 2014 11:54:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-evaluator-doesn-t-work-java-class-not-found/m-p/307248#M260378</guid>
      <dc:creator>dave984</dc:creator>
      <dc:date>2014-03-04T11:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Evaluator doesn't work...Java class not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-evaluator-doesn-t-work-java-class-not-found/m-p/307249#M260379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Basically, this statement was wrong: "Java classes in a jar in C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The jar file have to be there and in: C:\Alfresco\tomcat\webapps\share\WEB-INF\lib &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if i have a module introdued in document detail's page and i want to hide it in case the document is in a certain folder…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How retrieve the nodeRef.parent information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot use Java API from Share Tier…have i call a webscript to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot simply have this information in another way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 17:33:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-evaluator-doesn-t-work-java-class-not-found/m-p/307249#M260379</guid>
      <dc:creator>dave984</dc:creator>
      <dc:date>2014-03-04T17:33:11Z</dc:date>
    </item>
  </channel>
</rss>

