Grokbase Groups OpenNLP dev July 2012
FAQ
Fixed. But may be we need to consider moving on to Java6? OpenNLP is the
only project I have on Java5. Actually, just downloaded JDK5 for it. We're
two versions behind now. Anything in particular which holds us back? Any
users hardly constrained to Java5?

Aliaksandr

On Thu, Jul 19, 2012 at 8:56 PM, Aliaksandr Autayeu
wrote:
Thanks for pointing this out.

Aliaksandr


On Thu, Jul 19, 2012 at 8:56 PM, Aliaksandr Autayeu <
aliaksandr@autayeu.com> wrote:
Yes, I got it. I'm fixing it now. I had Java 6 set up for OpenNLP.

Aliaksandr

On Thu, Jul 19, 2012 at 8:54 PM, Jörn Kottmann wrote:

We are using Java 1.5, looks like the applied patch uses
an IOException constructor which was added in 1.6.

Jörn

On 07/19/2012 08:05 PM, Apache Jenkins Server wrote:

See <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/375/**changes<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/375/changes>
Changes:

[autayeu] NO JIRA: typo fix: agreemnets -> agreements

[autayeu] OPENNLP-525: Exception cleanup in opennlp-tools. Thanks to
Daniel Naber for the patch.

------------------------------**------------
projectStarted org.apache.opennlp:opennlp-**tools:1.5.3-SNAPSHOT
[INFO]
[INFO] ------------------------------**------------------------------**
------------
[INFO] Building Apache OpenNLP Tools 1.5.3-SNAPSHOT
[INFO] ------------------------------**------------------------------**
------------
mojoStarted org.apache.maven.plugins:**maven-clean-plugin:2.4.1(**
default-clean)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
opennlp-tools ---
mojoSucceeded org.apache.maven.plugins:**maven-clean-plugin:2.4.1(**
default-clean)
mojoStarted org.apache.maven.plugins:**maven-remote-resources-plugin:**
1.2.1(default)
[INFO]
[INFO] --- maven-remote-resources-plugin:**1.2.1:process (default) @
opennlp-tools ---
mojoSucceeded org.apache.maven.plugins:**maven-remote-resources-plugin:
**1.2.1(default)
mojoStarted org.apache.maven.plugins:**maven-resources-plugin:2.5(**default-resources)[debug]
execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources

[INFO]
[INFO] --- maven-resources-plugin:2.5:**resources (default-resources)
@ opennlp-tools ---
mojoSucceeded org.apache.maven.plugins:**maven-resources-plugin:2.5(**
default-resources)
mojoStarted org.apache.maven.plugins:**maven-compiler-plugin:2.3.2(**
default-compile)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:**compile (default-compile) @
opennlp-tools ---
[INFO] Compiling 459 source files to <https://builds.apache.org/**
job/OpenNLP/org.apache.**opennlp$opennlp-tools/ws/**target/classes<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/target/classes>
[INFO] ------------------------------**------------------------------**
-
[WARNING] COMPILATION WARNING :
[INFO] ------------------------------**------------------------------**
-
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**model/**
FeatureGeneratorFactorySeriali**zer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/model/FeatureGeneratorFactorySerializer.java>>:[26,37]
[deprecation] opennlp.tools.util.featuregen.**FeatureGeneratorFactory
in opennlp.tools.util.featuregen has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**model/**
FeatureGeneratorFactorySeriali**zer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/model/FeatureGeneratorFactorySerializer.java>>:[30,34]
[deprecation] opennlp.tools.util.featuregen.**FeatureGeneratorFactory
in opennlp.tools.util.featuregen has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**model/**
FeatureGeneratorFactorySeriali**zer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/model/FeatureGeneratorFactorySerializer.java>>:[38,9]
[deprecation] opennlp.tools.util.featuregen.**FeatureGeneratorFactory
in opennlp.tools.util.featuregen has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**model/**
FeatureGeneratorFactorySeriali**zer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/model/FeatureGeneratorFactorySerializer.java>>:[52,24]
[deprecation] opennlp.tools.util.featuregen.**FeatureGeneratorFactory
in opennlp.tools.util.featuregen has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**cmdline/coref/
**CoreferencerTool.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/cmdline/coref/CoreferencerTool.java>>:[39,34]
[deprecation] opennlp.tools.lang.english.**TreebankLinker in
opennlp.tools.lang.english has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
cmdline/parser/**CheckModelUpdaterTool.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/cmdline/parser/CheckModelUpdaterTool.java>
:[**52,39] [deprecation] train(opennlp.model.**EventStream,int,int)
in opennlp.tools.parser.chunking.**Parser has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**model/**
FeatureGeneratorFactorySeriali**zer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/model/FeatureGeneratorFactorySerializer.java>>:[35,26]
[deprecation] opennlp.tools.util.model.**ClassSerializer in
opennlp.tools.util.model has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**model/**
FeatureGeneratorFactorySeriali**zer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/model/FeatureGeneratorFactorySerializer.java>>:[44,14]
[deprecation] opennlp.tools.util.featuregen.**FeatureGeneratorFactory
in opennlp.tools.util.featuregen has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/chunking/Parser.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/chunking/Parser.java>
:[**304,35] [deprecation] train(java.lang.String,**opennlp.tools.util.
**ObjectStream<opennlp.tools.**postag.POSSample>,opennlp.**
tools.util.TrainingParameters,**opennlp.tools.postag.**
POSDictionary,opennlp.tools.**dictionary.Dictionary) in
opennlp.tools.postag.**POSTaggerME has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/treeinsert/Parser.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/treeinsert/Parser.java>
**:[452,35] [deprecation] train(java.lang.String,**opennlp.tools.util.
**ObjectStream<opennlp.tools.**postag.POSSample>,opennlp.**
tools.util.TrainingParameters,**opennlp.tools.postag.**
POSDictionary,opennlp.tools.**dictionary.Dictionary) in
opennlp.tools.postag.**POSTaggerME has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/treeinsert/**AttachContextGenerator.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/treeinsert/AttachContextGenerator.java>
:[**40,61] [unchecked] unchecked conversion
found : java.util.List
required: java.util.List<opennlp.tools.**parser.Parse>
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**cmdline/coref/
**CoreferencerTool.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/cmdline/coref/CoreferencerTool.java>>:[114,6]
[deprecation] opennlp.tools.lang.english.**TreebankLinker in
opennlp.tools.lang.english has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**cmdline/coref/
**CoreferencerTool.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/cmdline/coref/CoreferencerTool.java>
:[116,**29] [deprecation] opennlp.tools.lang.english.**TreebankLinker
in opennlp.tools.lang.english has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
sentdetect/lang/th/**SentenceContextGenerator.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/sentdetect/lang/th/SentenceContextGenerator.java>
**:[35,17] [deprecation] collectFeatures(java.lang.**
String,java.lang.String,java.**lang.String,java.lang.String) in
opennlp.tools.sentdetect.**DefaultSDContextGenerator has been
deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**
ext/OSGiExtensionLoader.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/ext/OSGiExtensionLoader.java>
:**[82,55] [unchecked] unchecked cast
found : java.lang.Object
required: T
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**namefind/**
NameFinderEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/namefind/NameFinderEventStream.java>
:[**64,27] [deprecation] DefaultNameContextGenerator() in
opennlp.tools.namefind.**DefaultNameContextGenerator has been
deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/util/**
featuregen/**FeatureGeneratorUtil.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/util/featuregen/FeatureGeneratorUtil.java>
:[**48,11] [deprecation] opennlp.tools.util.featuregen.**FastTokenClassFeatureGenerator
in opennlp.tools.util.featuregen has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/lang/**
english/TreebankNameFinder.**java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/lang/english/TreebankNameFinder.java>>:[95,49]
[deprecation] SimpleTokenizer() in opennlp.tools.tokenize.**SimpleTokenizer
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**parser/**
AbstractParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/AbstractParserEventStream.java>
**>:[54,36] [deprecation] CHUNK in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**parser/**
AbstractParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/AbstractParserEventStream.java>
**>:[57,41] [deprecation] TAG in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**parser/**
AbstractParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/AbstractParserEventStream.java>
**>:[77,36] [deprecation] TAG in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
mojoFailed org.apache.maven.plugins:**maven-compiler-plugin:2.3.2(**default-compile)[WARNING]
<https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**parser/**
AbstractParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/AbstractParserEventStream.java>
**>:[80,41] [deprecation] CHUNK in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/chunking/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/chunking/ParserEventStream.java>
:[185,**35] [deprecation] CHUNK in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/chunking/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/chunking/ParserEventStream.java>
:[188,**35] [deprecation] TAG in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/chunking/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/chunking/ParserEventStream.java>
:[199,**22] [deprecation] HeadRules(java.lang.String) in
opennlp.tools.parser.lang.en.**HeadRules has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/chunking/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/chunking/ParserEventStream.java>
:[202,**13] [deprecation] Dictionary(java.io.**InputStream,boolean)
in opennlp.tools.dictionary.**Dictionary has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
cmdline/parser/**BuildModelUpdaterTool.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/cmdline/parser/BuildModelUpdaterTool.java>
:[**51,39] [deprecation] train(opennlp.model.**EventStream,int,int)
in opennlp.tools.parser.chunking.**Parser has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
postag/POSTaggerTrainer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/postag/POSTaggerTrainer.java>
:**[75,11] [deprecation] POSModel(java.lang.String,**
opennlp.model.AbstractModel,**opennlp.tools.postag.**
POSDictionary,opennlp.tools.**dictionary.Dictionary) in
opennlp.tools.postag.POSModel has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/lang/**
spanish/TokenChunker.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/lang/spanish/TokenChunker.java>
:[**37,15] [deprecation] NameFinderME(opennlp.model.**MaxentModel) in
opennlp.tools.namefind.**NameFinderME has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/treeinsert/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/treeinsert/ParserEventStream.java>
:[353,**35] [deprecation] CHUNK in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/treeinsert/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/treeinsert/ParserEventStream.java>
:[359,**35] [deprecation] TAG in opennlp.tools.parser.**ParserEventTypeEnum
has been deprecated
[WARNING] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
parser/treeinsert/**ParserEventStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/parser/treeinsert/ParserEventStream.java>
:[378,**22] [deprecation] HeadRules(java.lang.String) in
opennlp.tools.parser.lang.en.**HeadRules has been deprecated
[INFO] 32 warnings
[INFO] ------------------------------**------------------------------**
-
[INFO] ------------------------------**------------------------------**
-
[ERROR] COMPILATION ERROR :
[INFO] ------------------------------**------------------------------**
-
[ERROR] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
formats/frenchtreebank/**ConstitParseSampleStream.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/formats/frenchtreebank/ConstitParseSampleStream.java>
**:[66,16] cannot find symbol
symbol : constructor IOException(org.xml.sax.**SAXException)
location: class java.io.IOException
[ERROR] <https://builds.apache.org/**job/OpenNLP/org.apache.**
opennlp$opennlp-tools/ws/src/**main/java/opennlp/tools/**
dictionary/serializer/**DictionarySerializer.java<https://builds.apache.org/job/OpenNLP/org.apache.opennlp$opennlp-tools/ws/src/main/java/opennlp/tools/dictionary/serializer/DictionarySerializer.java>
:[**302,12] cannot find symbol
symbol : constructor IOException(java.lang.String,**
org.xml.sax.SAXException)
location: class java.io.IOException
[INFO] 2 errors
[INFO] ------------------------------**------------------------------**
-

projectFailed org.apache.opennlp:opennlp-**tools:1.5.3-SNAPSHOT

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 10 | next ›
Discussion Overview
groupdev @
categoriesopennlp
postedJul 19, '12 at 6:06p
activeJul 21, '12 at 11:09a
posts10
users3
websiteopennlp.apache.org

People

Translate

site design / logo © 2021 Grokbase