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 070AD18A84 for ; Tue, 18 Aug 2015 03:38:26 +0000 (UTC) Received: (qmail 6776 invoked by uid 500); 18 Aug 2015 03:38:25 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 6733 invoked by uid 500); 18 Aug 2015 03:38:25 -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 6720 invoked by uid 99); 18 Aug 2015 03:38:25 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 03:38:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EE8A419D212 for ; Tue, 18 Aug 2015 03:38:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Oth9JLZ7FddB for ; Tue, 18 Aug 2015 03:38:14 +0000 (UTC) Received: from gateway36.websitewelcome.com (gateway36.websitewelcome.com [192.185.186.5]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 427E6205B4 for ; Tue, 18 Aug 2015 03:38:14 +0000 (UTC) Received: by gateway36.websitewelcome.com (Postfix, from userid 1000) id 9789C4D7EEA19; Mon, 17 Aug 2015 22:38:13 -0500 (CDT) Received: from gator3253.hostgator.com (gator3253.hostgator.com [198.57.247.217]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 806464D7F00DD for ; Mon, 17 Aug 2015 22:38:13 -0500 (CDT) Received: from [100.45.198.198] (port=55865) by gator3253.hostgator.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZRXj2-000M7Z-Ug for user@uima.apache.org; Mon, 17 Aug 2015 22:38:13 -0500 Subject: Re: Getting UIMA working with Eclipse-- Cannot find main for Document Analyzer To: user@uima.apache.org References: From: Marshall Schor Message-ID: <55D2A8A4.7060700@schor.com> Date: Mon, 17 Aug 2015 23:38:12 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3253.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-BWhitelist: no X-Source-IP: 100.45.198.198 X-Exim-ID: 1ZRXj2-000M7Z-Ug X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([100.45.198.198]) [100.45.198.198]:55865 X-Source-Auth: msa+schor.com X-Email-Count: 4 X-Source-Cap: bWlzY2hvcjttaXNjaG9yO2dhdG9yMzI1My5ob3N0Z2F0b3IuY29t tracked this down to a couple of lines that have sneaked into the launch configurations that are associated with Maven / eclipse integration. When those lines are removed, the launchers work. I'll enter a Jira to fix this (tomorrow). Thanks for reporting this issue. -Marshall On 8/17/2015 10:32 AM, Joshua Eisenberg wrote: > I am trying to set up UIMA for Java with Eclipse. > > I downloaded the UIMA binary zip from Apache, unzipped it, put it in a > directory that I configured as > the UIMA_HOME environment variable in my bash profile and in eclipse. I > also set my paths as the > UIMA readme instructs. I ran adjustExamplePaths.sh from the terminal with > no errors. I am able to run > the document analyzer through the terminal with no errors; I am able to see > the example annotations. > > In eclipse I downloaded the EMF plugin and both UIMA plugins. Then to test > if everything works in > Eclipse, I imported (from existing projects) the examples folder in > UIMA_HOME. I run it, select > document analyzer from the list and I get the following error: > > Error: could not find or load main class > org.apach.uima.tools.docanalyzer.DocumentAnalyzer > > Since tehn I've added the uima-tools.jar to the class path for doc analyzer > and I am still getting the > same error. > > Any advice would help. > > Thanks! >