<?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 Custom Behavior in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277832#M230962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created custom behavior (following ecmarchitect tutorial). When I start alfresco, I get an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.mydev.alf.Rating] for bean with name 'ratingsbehaviour' defined in file [/home/alfrescodev/AlfrescoArtifacts/projecttemplate/config-share/alfresco/web-extension/custom-slingshot-miketrain-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/alfresco/repo/node/NodeServicePolicies$OnDeleteNodePolicy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;why is org/alfresco/repo/node/NodeServicePolicies$OnDeleteNodePolicy not being found? Is this a classpath issue? I have included Repository project/jar in my project but oit made no difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MW&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 00:39:20 GMT</pubDate>
    <dc:creator>mtw999</dc:creator>
    <dc:date>2013-02-13T00:39:20Z</dc:date>
    <item>
      <title>Custom Behavior</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277832#M230962</link>
      <description>Hi,I created custom behavior (following ecmarchitect tutorial). When I start alfresco, I get an exception: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.mydev.alf.Rating] for bean with name 'ratingsbehaviour' defined in file [/home/alfrescodev/AlfrescoArtif</description>
      <pubDate>Wed, 13 Feb 2013 00:39:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277832#M230962</guid>
      <dc:creator>mtw999</dc:creator>
      <dc:date>2013-02-13T00:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Behavior</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277833#M230963</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;where did you put your custom JAR that includes your compiled behavior / policy class? If you put it somewhere in /tomcat/shared/ or /tomcat/lib/ it will not work. If you have a compiled Java class that depends on some Alfresco Java classes, the JAR needs to be put in /tomcat/webapps/alfresco/WEB-INF/lib/ preferably by installing it via the AMP mechanism. This is due to the way classloader lookup dependencies.&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>Wed, 13 Feb 2013 11:21:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277833#M230963</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-02-13T11:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Behavior</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277834#M230964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the information. I'm running Jetty inside of Eclipse, so I'm not quite sure I need to put my custom jar/class with respect to it. I will try to figure this out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:19:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277834#M230964</guid>
      <dc:creator>mtw999</dc:creator>
      <dc:date>2013-02-13T14:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Behavior</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277835#M230965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved my problem. My class was under share webapp, not alfresco. Dumb!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:43:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-behavior/m-p/277835#M230965</guid>
      <dc:creator>mtw999</dc:creator>
      <dc:date>2013-02-21T16:43:54Z</dc:date>
    </item>
  </channel>
</rss>

