Hi,

Yes I am now compiling with version 8 and I am also using maven to build. I 
still seem to be getting the same error.

TERMINAL CMD ERROR:
C:\Users\Zach Barrett\Documents\Computer Science\Junior\Comp 
398\ctakes\ctakes-distribution\src\main\bin>runPiperFile.bat -p "C:\Users\Zach 
Barrett\Documents\Computer Science\Junior\Comp 
398\ctakes\ctakes-examples-res\src\main\resources\org\apache\ctakes\examples\pipeline\HelloWorld.piper"

Error: Could not find or load main class 
org.apache.ctakes.core.pipeline.PiperFileRunner
Caused by: java.lang.ClassNotFoundException: 
org.apache.ctakes.core.pipeline.PiperFileRunner


INTELIJI ERROR:
ERROR PiperFileRunner - MESSAGE LOCALIZATION FAILED: Can't find resource for 
bundle java.util.PropertyResourceBundle, key No Analysis Component found for 
ContextDependentTokenizerAnnotator

Log File:
org.apache.uima.resource.ResourceInitializationException: MESSAGE LOCALIZATION 
FAILED: Can't find resource for bundle java.util.PropertyResourceBundle, key No 
Analysis Component found for ContextDependentTokenizerAnnotator
at 
org.apache.ctakes.core.pipeline.PipeBitLocator.getComponentClass(PipeBitLocator.java:97)
at 
org.apache.ctakes.core.pipeline.PiperFileReader.addToPipeline(PiperFileReader.java:194)
at 
org.apache.ctakes.core.pipeline.PiperFileReader.parsePipelineLine(PiperFileReader.java:137)
at 
org.apache.ctakes.core.pipeline.PiperFileReader.loadPipelineFile(PiperFileReader.java:119)
at org.apache.ctakes.core.pipeline.PiperFileRunner.run(PiperFileRunner.java:63)
at org.apache.ctakes.core.pipeline.PiperFileRunner.main(PiperFileRunner.java:30)

Thank you,
Carolina

________________________________
From: Finan, Sean <sean.fi...@childrens.harvard.edu>
Sent: Friday, October 11, 2019 1:07 PM
To: dev@ctakes.apache.org <dev@ctakes.apache.org>
Subject: Re: PiperFileRunner Error [EXTERNAL]

Hi Carolina,

ctakes is written for java 8.  I don't know if anybody has tested any higher 
version.  It looks like you are compiling with java version 11.

Are you using Apache maven to build ctakes?  ctakes is modular and uses 
https://maven.apache.org/.

The most complete instructions of which I am aware are here:

https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+Developer+Install+Guide#cTAKES4.0DeveloperInstallGuide-Build

Sean

________________________________________
From: Cervantes, Carolina <ccervant...@luc.edu>
Sent: Friday, October 11, 2019 1:55 PM
To: dev@ctakes.apache.org
Subject: PiperFileRunner Error [EXTERNAL]

Hello,

I am trying to run the HelloWorld piper file and when I try to do it via 
terminal I have been getting this error:

Error: Could not find or load main class 
org.apache.ctakes.core.pipeline.PiperFileRunner
Caused by: java.lang.ClassNotFoundException: 
org.apache.ctakes.core.pipeline.PiperFileRunner

When I try to run it through IntelliJ I get this error:

Information:java: Errors occurred while compiling module 'ctakes-utils'
Information:javac 11.0.2 was used to compile java sources
Information:10/11/2019 11:53 AM - Compilation completed with 2 errors and 0 
warnings in 8 s 947 ms
C: /Users /Zach Barrett /Documents /Computer Science /Junior /Comp 398 /ctakes 
/ctakes-utils /src /main /java /org /apache /ctakes /utils /env 
/EnvironmentVariable.java
    Error:Error:line (21)java: package jdk.nashorn.internal.ir.annotations does 
not exist
    Error:Error:line (24)java: cannot find symbol
  symbol: class Immutable

Any help would be appreciated!

Reply via email to