Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5548023A5 for ; Fri, 29 Apr 2011 16:12:38 +0000 (UTC) Received: (qmail 13722 invoked by uid 500); 29 Apr 2011 16:12:38 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 13638 invoked by uid 500); 29 Apr 2011 16:12:37 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 13630 invoked by uid 99); 29 Apr 2011 16:12:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 16:12:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tommaso.teofili@gmail.com designates 74.125.83.47 as permitted sender) Received: from [74.125.83.47] (HELO mail-gw0-f47.google.com) (74.125.83.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 16:12:32 +0000 Received: by gwb11 with SMTP id 11so1499857gwb.6 for ; Fri, 29 Apr 2011 09:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=k4N86uOI3eY73xaoUWhQvRM5RHxpdU4tRaapcP5xAPs=; b=USNQvGaK22MyQwH79+EdycfLdm8acbM3LwZduEOvDB6c2mdPv5TXEv5WTLmOG+zAGB 4FR50JkS1o9G29lTxaBk8f1jzHrlIQfQYy1E8185bj3L4Mgp8u+3FQQfJdvk07BmsxvF rFQyLGtW2su7X0K7JglpvrWSpDFLJCXwnIsi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=wKrbisQYB7kZZ4dcZXzfopm+BIAACFtn0Op95qXFeOkhW/w3A7j7CdHQZ80L08mi2b pojOJQWh/vJzgs6agn95wgogwPs/dGgDaL+ab9Usamb9s4gsCEd9kFTobyJU2mNscx71 DR2APbtDHjwUgYZRUF4DlVU2r6HZD0ypf2SVI= Received: by 10.236.92.116 with SMTP id i80mr6204607yhf.348.1304093531066; Fri, 29 Apr 2011 09:12:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.113.11 with HTTP; Fri, 29 Apr 2011 09:11:31 -0700 (PDT) In-Reply-To: <82E1C8A49AE00940B2D4D2937AACD350B224191F03@ITCCRMAIL01.MED.HARVARD.EDU> References: <82E1C8A49AE00940B2D4D2937AACD350B224191F03@ITCCRMAIL01.MED.HARVARD.EDU> From: Tommaso Teofili Date: Fri, 29 Apr 2011 18:11:31 +0200 Message-ID: Subject: Re: Sandbox help - every descriptor throws ResourceInitializationException from the CAS Visual Debugger To: user@uima.apache.org Content-Type: multipart/alternative; boundary=20cf3011da49ac50e204a210ef58 --20cf3011da49ac50e204a210ef58 Content-Type: text/plain; charset=ISO-8859-1 Hi Britt, what I think you miss is adding the sandbox jars to the CAS Visual Debugger launcher classpath. >From Eclipse open Run-> Run Configurations -> go to the CAS Visual Debugger launcher you're using. You'll probably find uimaj-examples under the "project" selector, you just may change this to select the sandbox project you want to try or go to the Classpath tab and add all the sandbox jars (you may need to run a mvn install first to generate them) you want to use to the User Entries list. Hope this helps, Tommaso 2011/4/28 Fitch, Britt > I hope someone can help point me in the right direction. I have been stuck > on this for more than a day. > > I am using eclipse and performed all of the appropriate initial setup for > eclipse per the UIMA site. > I am using UIMA 2.3.1. > I am able to use the CAS visual debugger to run the examples under > UIMA_HOME\examples\descriptors\tutorial > > I followed the instructions here: > http://uima.apache.org/doc-uima-annotator.html > and have been able to successfully develop my first annotator as its own > eclipse project. This runs fine. > > I am unable to get any of the sandbox projects (or any other 3rd party > publicly available UIMA annotators) to run. > > I start by either checking out the whole sandbox project, or just the > specific project I want (and the parent) from: > http://svn.apache.org/repos/asf/uima/sandbox/tags/uima-addons-2.3.1-rc1 > or > http://svn.apache.org/repos/asf/uima/sandbox/trunk > > I add maven dependency management to the projects (otherwise they end up in > the package main.java.org.apache...) > I go to properties > build path > libraries and add uima_home/lib/* > > I start CAS visual debugger in eclipse (same result as if I start it > directly from uima_home though) > > When I try to LoadAE for any of the annotators I get a message: > > "4/28/11 1:38:38 PM - 10: > org.apache.uima.tools.cvd.MainFrame.handleException(527): SEVERE: Annotator > class "org.apache.uima.annotator.WhitespaceTokenizer" was not found. > (Descriptor: file:/C:/dev/WhitespaceTokenizer/desc/WhitespaceTokenizer.xml) > org.apache.uima.resource.ResourceInitializationException: Annotator class > "org.apache.uima.annotator.WhitespaceTokenizer" was not found. (Descriptor: > file:/C:/dev/WhitespaceTokenizer/desc/WhitespaceTokenizer.xml)" > > I've tried this for WhitespaceTokenizer, Regex, Snowball, and a few others, > all to the same effect. > > I found 1 post that said there was some special setup that was required for > the sandbox projects, but it just directed to > http://uima.apache.org/svn.html but i dont see anything there that seems > special to this situation. > > I apologize for such a long post, but I'm stuck and wanted to supply > everything I thought someone might need. > > Thanks > > Britt > > --20cf3011da49ac50e204a210ef58--