Hi Andrey,

I am not going to address the errors that you mention in your email, but I will 
just say that you can stop with "mvn package".  If you go to the directory 
ctakes-distribution/target/ there should be an 
apache-ctakes-3.2.3-SNAPSHOT-bin.zip file.  This is the ctakes binary package 
for Windows, and you simply unzip this in a location of your choice to 
"install" ctakes.

Sean

-----Original Message-----
From: Andrey Kurdumov [mailto:kant2...@googlemail.com] 
Sent: Saturday, December 17, 2016 3:06 PM
To: cTakes developers list
Subject: Could not install cTakes pacakges to local Maven

Hi all,

After recent fix, I was able to do `mvn package`. I play with cTakes a bit and 
then decide to create small CLI which will run cTakes pipeline for me.
I run `mvn install` and it fails for me.

1. Exception from surefire has following error:
Failed to obtain BeanInfo for class [freemarker.template.Configuration];
nested exception is java.beans.IntrospectionException: type mismatch between 
read and write methods

I figure out that this error was caused by Java 8, and 
`ctakes-ytex\src\main\java\org\apache\ctakes\ytex\weka\GramMatrixExportedImpl.java`
on the line 69.
The type of setter and getter was different 'BagOfWordsExporter 
getBagOfWordsExporter()' and 'BagOfWordsExporter getBagOfWordsExporter()'
which make Java 8 unhappy.
after that change mvn install pass that project.
Could someone made this small change in the code?

2. Then I have mvn install failed on the ctakes-ytext-uima project, on the 
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest
with exception below:
java.lang.AssertionError
 at org.junit.Assert.fail(Assert.java:92)
 at org.junit.Assert.assertTrue(Assert.java:43)
 at org.junit.Assert.assertTrue(Assert.java:54)
 at
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest.testParseDate(DateAnnotatorTest.java:54)

I'm not sure yet why this error happens, maybe due to my Russian Windows.
Could someone on other side check that mvn install working for him ?

3. Another observation which is not fail build for me, which is worry me is 
that I have a bunch of FileNotFoundExcepion errors in the ctakes-temporal 
project.

Here not full list of files which is missing:
ctakes-temporal\data\Unicode\nonStripMap.data
ctakes-temporal\data\rules\im.rul
ctakes-temporal\data\rules\dm.rul
ctakes-temporal\data/misc/stopWords.data

Am I miss some configuration steps?

Best regards,
Andrey Kurdyumov

Reply via email to