<?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 when trying implement a service task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73808#M48231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone, I'm trying to implement a java service task on Activiti 5.8 .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The process was defined like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;definitions xmlns="&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;" xmlns:bpmndi="&lt;A href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;" xmlns:omgdc="&lt;A href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;" xmlns:omgdi="&lt;A href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;" typeLanguage="&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" expressionLanguage="&lt;A href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;" targetNamespace="&lt;A href="http://www.activiti.org/test" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/test&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;process id="TestServiceTask" name="TestServiceTask"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;Place documentation for the 'TestServiceTask' process here.&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="theStart" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="serviceTask" name="Service Task" activiti:class="com.neusoft.nsop.test.HelloBPMN"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" name="" sourceRef="theStart" targetRef="serviceTask"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="theEnd" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" name="" sourceRef="serviceTask" targetRef="theEnd"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;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;/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;SPAN&gt;After deploy the process on Activiti Engine, and place the implement jar file to the path : "%CATALINA_HOME%\webapps\activiti-rest\WEB-INF\lib\", I can see the corresponding diagram on Activiti Explorer, but when I trying to start it , I got an exception says tomcat can't find the implement class , which is, "com.neusoft.nsop.test.HelloBPMN" in this case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sure that the jar file contains the required class. I've try to redo the deployment work several times following the user guide, but didn't work at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone got any clue about this? I will be very appreciate for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2012 03:09:53 GMT</pubDate>
    <dc:creator>tnfyj520</dc:creator>
    <dc:date>2012-01-09T03:09:53Z</dc:date>
    <item>
      <title>ClassNotFoundException when trying implement a service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73808#M48231</link>
      <description>Hi everyone, I'm trying to implement a java service task on Activiti 5.8 .The process was defined like this:&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://act</description>
      <pubDate>Mon, 09 Jan 2012 03:09:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73808#M48231</guid>
      <dc:creator>tnfyj520</dc:creator>
      <dc:date>2012-01-09T03:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException when trying implement a service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73809#M48232</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;Did you start the process from the Activiti Explorer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you have to deploy the JAR file to %CATALINA_HOME%\webapps\activiti-explorer\WEB-INF\lib\&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 08:12:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73809#M48232</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-01-09T08:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException when trying implement a service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73810#M48233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Did you start the process from the Activiti Explorer?&lt;BR /&gt;Then you have to deploy the JAR file to %CATALINA_HOME%\webapps\activiti-explorer\WEB-INF\lib\&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for replying. It works for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question, as the user guide said, putting the jar file into %CATALINA_HOME%\webapps\activiti-rest\WEB-INF\lib\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is just for some programing start, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I still don't understand why activiti-explorer would need this jar file rather than the activiti engine, is there another activiti engine running in this activiti-explorer webapp?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 10:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73810#M48233</guid>
      <dc:creator>tnfyj520</dc:creator>
      <dc:date>2012-01-09T10:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException when trying implement a service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73811#M48234</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;Right, the Activiti Explorer also has its own Activiti Engine, that's the reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 15:00:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classnotfoundexception-when-trying-implement-a-service-task/m-p/73811#M48234</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-01-10T15:00:08Z</dc:date>
    </item>
  </channel>
</rss>

