<?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 ClassNotFoundException: org.alfresco.web.evaluator.BaseEvaluator in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-org-alfresco-web-evaluator-baseevaluator/m-p/307098#M260228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm experiencing a strange problem. I've created a custom evaluator and deployed the jar to &amp;lt;TOMCAT_HOME&amp;gt;/shared/lib. However, I got ClassNotFoundException&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.web.evaluator.BaseEvaluator when I started Alfresco. I removed extension of BasedEvaluator from the custom evaluator and deployed again, I got ClassNotFoundException: org.json.simple.JSONObject. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However it works fine when I deploy the jar to &amp;lt;TOMCAT_HOME&amp;gt;webapps/share/WEB_INF/lib. It seems shared/lib/*.jar gets initialized before loading all other jars.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried enterprise 4.0.2 and enterprise 4.1.3. Both produced the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why? Is this a bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 09:04:06 GMT</pubDate>
    <dc:creator>alex_lu</dc:creator>
    <dc:date>2013-05-10T09:04:06Z</dc:date>
    <item>
      <title>ClassNotFoundException: org.alfresco.web.evaluator.BaseEvaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-org-alfresco-web-evaluator-baseevaluator/m-p/307098#M260228</link>
      <description>Hello,I'm experiencing a strange problem. I've created a custom evaluator and deployed the jar to &amp;lt;TOMCAT_HOME&amp;gt;/shared/lib. However, I got ClassNotFoundException&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.web.evaluator.BaseEvaluator when I started Alfresco. I removed extension of BasedEvaluator from the custom evaluator an</description>
      <pubDate>Fri, 10 May 2013 09:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-org-alfresco-web-evaluator-baseevaluator/m-p/307098#M260228</guid>
      <dc:creator>alex_lu</dc:creator>
      <dc:date>2013-05-10T09:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException: org.alfresco.web.evaluator.BaseEvaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-org-alfresco-web-evaluator-baseevaluator/m-p/307099#M260229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is not a bug - this is a result of an inproper placement of the JAR and classloading mechanics. You can't but a JAR that has a direct dependency on an Alfresco class on the shared/lib/*.jar path since the shared-classloader does not have access to the webapp-specific classloader of Alfresco to load the dependant class BaseEvaluator. Such a JAR can only be put in the WEB-INF/lib of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 23:56:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-org-alfresco-web-evaluator-baseevaluator/m-p/307099#M260229</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-05-14T23:56:42Z</dc:date>
    </item>
  </channel>
</rss>

