From user-return-5276-apmail-uima-user-archive=uima.apache.org@uima.apache.org Mon Aug 19 12:07:16 2013 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 38D741052D for ; Mon, 19 Aug 2013 12:07:16 +0000 (UTC) Received: (qmail 61087 invoked by uid 500); 19 Aug 2013 12:07:16 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 61061 invoked by uid 500); 19 Aug 2013 12:07:15 -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 61053 invoked by uid 99); 19 Aug 2013 12:07:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 12:07:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of richard.eckart@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-ee0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 12:07:08 +0000 Received: by mail-ee0-f52.google.com with SMTP id c41so2137682eek.11 for ; Mon, 19 Aug 2013 05:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=0DiekY86XZTyJajVcfiPT30ZXcz4W28Lt1XJtaS5Xrc=; b=mcYGTcf94zhyTa4gn9t1uSILJuDYcYTrimrx7/MebKY5+FWnn5e8uewk6n+L+XKAFA Uz3Atvmt44LO3P4eKdTRVlJ/xL4XcdkCMMLbX2MFuF7BSRzIcTbe3Nzzpq7bqX4v/THL fOKby31afQKbO6erpDAhiUZrc5Ld3OblUL7WXCEJbGrtfSgRtgpgMgDtUPE1kr/jIBpE TmCGZv5gPLo+7Fue77wsaskreEeAEgbHuDfLOEwOpIWNcM2S1z4hAEJ6YVZdRW/jwoJB rVTBk8B+JgwvT9UnT3q/HHZCI1t+5KGzP15h9GXnKAnLIisxq4KfsCrUaWb2ychG+m+j VAbw== X-Received: by 10.15.33.132 with SMTP id c4mr22457439eev.2.1376914007491; Mon, 19 Aug 2013 05:06:47 -0700 (PDT) Received: from [10.0.1.20] (ip-178-200-234-179.unitymediagroup.de. [178.200.234.179]) by mx.google.com with ESMTPSA id n48sm16957913eeg.17.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 05:06:46 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: strange problem with uima fit From: Richard Eckart de Castilho In-Reply-To: <5212089F.2080607@uni-wuerzburg.de> Date: Mon, 19 Aug 2013 14:06:44 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2E1C716D-111E-4CDA-8A09-6B856D3B3317@gmail.com> References: <5211E0A4.4080404@uni-wuerzburg.de> <5E17D4EE-EE36-41C1-AFB0-E1BC0BCD4B77@gmail.com> <5212089F.2080607@uni-wuerzburg.de> To: user@uima.apache.org X-Mailer: Apple Mail (2.1508) X-Virus-Checked: Checked by ClamAV on apache.org uimaFIT automatically activates the legacy module when it is on the = classpath. According to your stack trace, uimaFIT detected the module = and accessed it (stack frames starting with = org.apache.uima.fit.legacy=85). Remove the JAR with the name uimafit-legacy-support-2.0.0-SNAPSHOT.jar = from your classpath.=20 Cheers, -- Richard Am 19.08.2013 um 13:59 schrieb Georg Fette = : > Hi Richard, > No, I am not using Maven and I do not have uimaFIT 1.4. on my = classpath. > How do I remove the legacy module ? Is it a project configuration = issue or do I have to set some variables during runtime ? As far as I = know I should only have uimaFit-core in my plugins (as I am using = Ruta2.0.2Snapshot which does only use uimaFit-core). Could you give me a = hint how to check if I have the legacy module active ? > Greetings > Georg >=20 > Am 19.08.2013 11:25, schrieb Richard Eckart de Castilho: >> Hi Georg, >>=20 >> looks like you are using uimaFIT 2.0.x with the legacy module but you = do not have uimaFIT 1.4.x on the classpath. You should either remove the = legacy module or add uimaFIT 1.4.x. >>=20 >> Are you using Maven? >>=20 >> -- Richard >>=20 >> Am 19.08.2013 um 11:08 schrieb Georg Fette = : >>=20 >>> Hello, >>> I am having a strange error while creating an = AnalysisEngineDescription: >>>=20 >>> java.lang.NoClassDefFoundError: = org/uimafit/descriptor/OperationalProperties >>> at = org.apache.uima.fit.legacy.converter.OperationalPropertiesConverter.getLeg= acyType(OperationalPropertiesConverter.java:38) >>> at = org.apache.uima.fit.legacy.LegacySupportPluginImpl.getLegacyType(LegacySup= portPluginImpl.java:128) >>> at = org.apache.uima.fit.legacy.LegacySupportPluginImpl.isAnnotationPresent(Leg= acySupportPluginImpl.java:71) >>> at = org.apache.uima.fit.internal.ReflectionUtil.isAnnotationPresent(Reflection= Util.java:152) >>> at = org.apache.uima.fit.internal.ReflectionUtil.getInheritableAnnotation(Refle= ctionUtil.java:114) >>> at = org.apache.uima.fit.factory.AnalysisEngineFactory.createEngineDescription(= AnalysisEngineFactory.java:1264) >>> at = org.apache.uima.fit.factory.AnalysisEngineFactory.createEngineDescription(= AnalysisEngineFactory.java:1105) >>> at = de.uniwue.uima.colStore_dbImpl.collections.filesystem.FileSystemSink.creat= eWriterDescription(FileSystemSink.java:76) >>> at = de.uniwue.dw2.infoextr.manager.RutaScriptManager.executeRutaScripts(RutaSc= riptManager.java:515) >>> at = de.uniwue.dw2.infoextr.views.TermView$16.run(TermView.java:395) >>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) >>> Caused by: java.lang.ClassNotFoundException: = org.uimafit.descriptor.OperationalProperties >>> at = org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad= er.java:513) >>> at = org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:= 429) >>> at = org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:= 417) >>> at = org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default= ClassLoader.java:107) >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> ... 11 more >>>=20 >>> I do not yet know exactly if I should search for the error in my = code or if I should reconfigure the libraries I am using (perhaps = version conflicts ?). >>> What puzzles me most is that most of the callstack tells me = something of the namespace "org.apache.uima.fit" and suddenly a class = from the namespace "org.uimafit" is missing. Could someone give me a = hint on this one ? >>> Greetings >>> Georg >>>=20 >>> --=20 >>> = --------------------------------------------------------------------- >>> Dipl.-Inf. Georg Fette Raum: B009 >>> Universit=E4t W=FCrzburg Tel.: +49-(0)931-31-85516 >>> Am Hubland Fax.: +49-(0)931-31-86732 >>> 97074 W=FCrzburg mail: georg.fette@uni-wuerzburg.de >>> = --------------------------------------------------------------------- >=20 >=20 > --=20 > --------------------------------------------------------------------- > Dipl.-Inf. Georg Fette Raum: B009 > Universit=E4t W=FCrzburg Tel.: +49-(0)931-31-85516 > Am Hubland Fax.: +49-(0)931-31-86732 > 97074 W=FCrzburg mail: georg.fette@uni-wuerzburg.de > --------------------------------------------------------------------- >=20