dirkweissenborn / ctakes-server

A simple REST-server around ctakes clinical pipeline.
30 stars 15 forks source link

Could not find or load main class de.dfki.lt.ctakes.Server #6

Closed atuls2 closed 7 years ago

atuls2 commented 7 years ago

I am trying to run the project and completed each and every step.

while i am running this command

java -Dctakes.umlsuser=myuser -Dctakes.umlspw=mypass -Xmx3g -cp target/ctakes-server-0.1.jar:resources/ de.dfki.lt.ctakes.Server localhost 9999 desc/ctakes-clinical-pipeline/desc/analysis_engine/AggregatePlaintextFastUMLSProcessor.xml

The error occurs as:

Error: Could not find or load main class de.dfki.lt.ctakes.Server

Please Help

Michael-M-Judd commented 7 years ago

Hey @atuls2 ! I'm having the same issue. Did you ever end up figuring out why?

I have a feeling it has something to do with the fact I'm on a Windows machine and it looks like the majority of the project was developed in Linux.

Thanks!

atuls2 commented 7 years ago

Hey @Michael-M-Judd Michael, Try replacing ":" with ; in the line

java -Dctakes.umlsuser=myuser -Dctakes.umlspw=mypass -Xmx3g -cp target/ctakes-server-0.1.jar;resources/ de.dfki.lt.ctakes.Server localhost 9999 desc/ctakes-clinical-pipeline/desc/analysis_engine/AggregatePlaintextFastUMLSProcessor.xml

the program will work.

Regards: Atul

Michael-M-Judd commented 7 years ago

It worked, thanks!