<?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 Re: Java Backed webscript: NoClassDefFoundError in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162406#M116288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the sdk files from sourceforge, and the release dated 2007-12-09, with the Alfresco windows installer from sourceforge also dated 2007-12-09. Using the release jar to do my development has been fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2008 14:16:37 GMT</pubDate>
    <dc:creator>peds</dc:creator>
    <dc:date>2008-07-31T14:16:37Z</dc:date>
    <item>
      <title>Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162400#M116282</link>
      <description>Hello,I am trying to make a Java backed webscript, bascially modeled of a tutorial found here: http://ecmarchitect.com/images/articles/alfresco-webscripts/web-script-article.pdf.I have a Java class that extends org.alfresco.web.scripts.DeclarativeWebScript‍ and overrides a method: executeImpl(org.al</description>
      <pubDate>Thu, 17 Jul 2008 15:44:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162400#M116282</guid>
      <dc:creator>peds</dc:creator>
      <dc:date>2008-07-17T15:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162401#M116283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like the code is being compiled against a different version of Alfresco than it's being running in.&amp;nbsp; Can you double check that the SDK and Alfresco server are indeed the exact same build of Alfresco 2.9?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 22:19:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162401#M116283</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-07-18T22:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162402#M116284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The alfresco version I am using is: Community Network - v2.9.0 (B 683)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the SDK from here :&lt;/SPAN&gt;&lt;A href="https://sourceforge.net/project/showfiles.php?group_id=143373&amp;amp;package_id=189441" rel="nofollow noopener noreferrer"&gt;https://sourceforge.net/project/showfiles.php?group_id=143373&amp;amp;package_id=189441&lt;/A&gt;&lt;SPAN&gt;, and am using the file called: alfresco-community-sdk-2.9.0B.zip. Poking around I haven't seen a build associated with it, but all the files in the zip are dated 12/11/2007.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 13:59:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162402#M116284</guid>
      <dc:creator>peds</dc:creator>
      <dc:date>2008-07-21T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162403#M116285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On the files off subversion, there is a DeclarativeWebScript that has both versions of executeImpl, a deprecated version that takes a WebScriptStatus object and a new one that takes a Status object. How would I use that version in Alfresco, so it supports both? or else does anyone know which SDK supports the Status object? It seems strange to me that an Alfresco server and SDK released within days of each other would be incompatible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 19:58:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162403#M116285</guid>
      <dc:creator>peds</dc:creator>
      <dc:date>2008-07-22T19:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162404#M116286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found a solution/workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create a project, and include the SDK AlfrescoEmbedded in the build path, but I also include an external JAR, which is the alfresco-web-framework.jar from the WEB-INF/lib directory. This works, though I doubt it is the best solution…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 18:11:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162404#M116286</guid>
      <dc:creator>peds</dc:creator>
      <dc:date>2008-07-23T18:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162405#M116287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're retrieving the SDK files from SVN then chances are you're compiling against a markedly different version of Alfresco than 2.9.&amp;nbsp; As best I recall, the last published build of 2.9 was released on April 18th, so there's been more than 3 months of v3.0 development work accumulating in SVN since then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The basic rule is that you need to compile all of your extension code against the &lt;/SPAN&gt;&lt;STRONG&gt;exact&lt;/STRONG&gt;&lt;SPAN&gt; same version of the SDK as the version of Alfresco that you're running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 15:02:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162405#M116287</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-07-25T15:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162406#M116288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the sdk files from sourceforge, and the release dated 2007-12-09, with the Alfresco windows installer from sourceforge also dated 2007-12-09. Using the release jar to do my development has been fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 14:16:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162406#M116288</guid>
      <dc:creator>peds</dc:creator>
      <dc:date>2008-07-31T14:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed webscript: NoClassDefFoundError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162407#M116289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a similar but slightly different problem.&amp;nbsp; When I run the build script from Eclipse, the war file is assembled correctly.&amp;nbsp; When I run the MMT from the command line (from the Alfresco/bin directory), The war file is assembled without any error messages but gives this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscript.fr.starxpert.admin.user-rights.get' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\admin\module-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/alfresco/web/scripts/WebScriptStatus&lt;BR /&gt;Caused by: java.lang.NoClassDefFoundError: org/alfresco/web/scripts/WebScriptStatus]&lt;SPAN class="line-numbers-rows"&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;when I start Alfresco.&amp;nbsp; This happens both when I use the alfresco-mmt.jar file that came with my v2.9B download and when I use the alfresco-mmt-2.1.0.jar file.&amp;nbsp; I can't see any difference between the war files that are assembled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the 2.9.0B version of the SDK.&amp;nbsp; One of my classes extends AbstractWebScript (it's closely based on the Demo Web Script that I downloaded from the Alfresco web site) but I can't override the method from AbstractWebScript that uses WebScriptStatus because it's final.&amp;nbsp; Anyway if it's a version compatibility problem, why does it work from Eclipse?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 14:43:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript-noclassdeffounderror/m-p/162407#M116289</guid>
      <dc:creator>slothrop</dc:creator>
      <dc:date>2008-08-01T14:43:30Z</dc:date>
    </item>
  </channel>
</rss>

