<?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 Class not found exception in java service task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73393#M47882</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;To use java service task i have create my own java class in "\activiti\workspace\activiti-engine-examples\target\classes\org\activiti\examples\bpmn\servicetask" named "mails.class"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My bpm.xml files are in "activiti\workspace\activiti-modeler-examples".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how can i refer my class in my bpm.xml file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just copied the org\activiti\examples\bpmn\servicetask folder in my file path "activiti\workspace\activiti-modeler-examples". and in bpm.xml file i referred&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;serviceTask completionQuantity="1" activiti:class="org.activiti.examples.bpmn.servicetask.mails"&amp;nbsp; id="sid-78176AC6-C1E4-43FB-BB8F-48550589A89B" name="Send notification email to admin on status &amp;amp;quot;Applied&amp;amp;quot;" startQuantity="1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;incoming&amp;gt;sid-515BC8FA-F8B0-4CB2-A818-BCDD3AA2FAED&amp;lt;/incoming&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serviceTask&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;How should i refer the class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the exception as "06040005 Wrapped Exception (with status template): couldn't instantiate class mails"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error was ClassNotFoundException&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is it so? How should i refer my class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help me&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kavi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2011 12:59:28 GMT</pubDate>
    <dc:creator>kavi</dc:creator>
    <dc:date>2011-07-04T12:59:28Z</dc:date>
    <item>
      <title>Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73393#M47882</link>
      <description>Hi ,To use java service task i have create my own java class in "\activiti\workspace\activiti-engine-examples\target\classes\org\activiti\examples\bpmn\servicetask" named "mails.class"My bpm.xml files are in "activiti\workspace\activiti-modeler-examples".So how can i refer my class in my bpm.xml fil</description>
      <pubDate>Mon, 04 Jul 2011 12:59:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73393#M47882</guid>
      <dc:creator>kavi</dc:creator>
      <dc:date>2011-07-04T12:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73394#M47883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kavi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Class files normally start with a Capital, so maybe, just maybe use made an error here&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 14:41:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73394#M47883</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-04T14:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73395#M47884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm deploying the .bar file on activiti explorer and i had used service task in my process and attached a class with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the bar file which is getting generated does not contains the java class so after deploying it when i'm running its throwing "Class Not Found Exception".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So please help me in deploying java classes with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 05:22:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73395#M47884</guid>
      <dc:creator>vaibhavmaniar</dc:creator>
      <dc:date>2014-01-09T05:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73396#M47885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please do not ask the same question twice. Asking the same question won't get it answered any sooner…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 11:13:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73396#M47885</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-09T11:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73397#M47886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not answer the question or provide an update then? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 19:13:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73397#M47886</guid>
      <dc:creator>bram</dc:creator>
      <dc:date>2014-02-18T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73398#M47887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A bar will *never* contains Java classes. You need to add them to the classpath yourself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:44:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73398#M47887</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-02-25T08:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73399#M47888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;why is it necessay to deploy the bar file and copy the jars manually? What is when i use an activiti installation which is not accesible except the explorer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would expect that the deployment file contains all needed resources and the deployment process does the rest, including deploy bar file and adds jars/classes into class path of the engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone explain me how to copy the jars my process needs to …/tomcat/webapps/activiti-explorer/META-INF/libs, when tomcat is running on a remote mashine and i don't have file-access to it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a lot in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kemal CAVDAR&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 10:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73399#M47888</guid>
      <dc:creator>cavdar</dc:creator>
      <dc:date>2015-12-30T10:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73400#M47889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kemal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't want to implement class loading logic in the Activiti Engine to keep the Engine simple and focused on BPMN execution. JBoss and other application servers, and for example Apache Karaf provide class loading mechanisms that we can utilize in Activiti. If you deploy on Tomcat then yes you need to copy the JARs to the WEB-INF/lib folder.&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>Wed, 30 Dec 2015 11:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73400#M47889</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-12-30T11:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Class not found exception in java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73401#M47890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you verry much replaying so rapidly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 14:00:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/class-not-found-exception-in-java-service-task/m-p/73401#M47890</guid>
      <dc:creator>cavdar</dc:creator>
      <dc:date>2015-12-30T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

