I had similar errors... I tried the following in iterative fashion: 1. run maven install from the root ctakes directory and the projects that had problems 2. try to maven->update dependencies and maven->update project configuration on projects that had problems
Eventually the errors went away. Then I had to do another maven install on the root directory in order to get the types to actually show up in imports. stephen On 10/10/12 10:51 AM, "Dmitriy Dligach" <[email protected]> wrote: > Sorry. Here it is: > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] cTAKES ............................................ SUCCESS [0.496s] > [INFO] Apache cTAKES common type system .................. SUCCESS [5.212s] > [INFO] Apache cTAKES utils ............................... SUCCESS [0.255s] > [INFO] Apache cTAKES core ................................ SUCCESS [0.312s] > [INFO] Apache cTAKES part-of-speech tagger ............... SUCCESS [0.240s] > [INFO] Apache cTAKES chunker ............................. SUCCESS [0.267s] > [INFO] Apache cTAKES document preprocessor ............... SUCCESS [0.404s] > [INFO] Apache cTAKES dictionary lookup ................... SUCCESS [0.789s] > [INFO] Apache cTAKES context dependent tokenizer ......... SUCCESS [0.194s] > [INFO] Apache cTAKES LVG lexical tools ................... SUCCESS [0.234s] > [INFO] Apache cTAKES named entity contexts ............... SUCCESS [0.185s] > [INFO] Apache cTAKES Constituency Parser ................. SUCCESS [11.004s] > [INFO] Apache cTAKES CoReference Resolver ................ SUCCESS [2.009s] > [INFO] Apache cTAKES Drug NER ............................ SUCCESS [3.798s] > [INFO] Apache cTAKES Side Effects ........................ SUCCESS [2.474s] > [INFO] Apache cTAKES Smoking Status ...................... FAILURE [0.326s] > [INFO] Apache cTAKES Dependency Parser ................... SKIPPED > [INFO] Apache cTAKES Relation Extractor .................. SKIPPED > [INFO] Apache cTAKES Assertion ........................... SKIPPED > [INFO] Apache cTAKES ctakes-clinical-pipeline ............ SKIPPED > [INFO] Apache cTAKES Pad Term Spotter .................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 28.930s > [INFO] Finished at: Wed Oct 10 11:50:48 EDT 2012 > [INFO] Final Memory: 20M/202M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.2.1:java > (run-jcasgen-ctakes-smoking-status) on project ctakes-smoking-status: An > exception occured while executing the Java class. null: > InvocationTargetException: An import could not be resolved. No .xml > file with name "org.apache.ctakes.smokingstatus.types.I2B2TypeSystem" > was found in the class path or data path. (Descriptor: > file:/home/dima/workspaces/apache/ctakes/ctakes-smoking-status/target/classes/ > org/apache/ctakes/smokingstatus/types/TypeSystem.xml) > -> [Help 1] > > > On 10/10/2012 11:49 AM, Steven Bethard wrote: >> On Oct 10, 2012, at 9:40 AM, Dmitriy Dligach >> <[email protected]> wrote: >>> I am trying to check out cTAKES and build it but I am getting a build >>> error. Maven stumbles on the smoking-status module. I think the problem >>> is in TypeSystem.xml file in the smoking-status module. Maven has >>> problems importing the common type system, i.e.: >>> >>> <import name="org.apache.ctakes.typesystem.types.TypeSystem"/> >> Can you paste the error you're getting? >> >> Steve >
