Open shahidash opened 7 years ago
I have the same error.
Is it associated with the following issue? https://issues.apache.org/jira/browse/CTAKES-418
Any direction would be appreciated.
Thanks, Jay
I solved this problem by as follows.
I received the following exception: Exception: java.io.FileNotFoundException: ... /ctakes-temporal-demo/ data/misc/stopWords.data (No such file or directory) etc.
So I copied the contents under ... /ctakes-temporal-demo/ src/main/resources/org/apache/ctakes/lvg/data/ to: /ctakes-temporal-demo/data/
Jay Urbain
I also think I solved the problem through PR #6 and #5. You can also follow the instructions from the README.md
.
INFO LvgCmdApiResourceImpl - cd /srv/examples/ctakes-web-client Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/stopWords.data (No such file or directory) Error: problem of opening/reading stop words file: '/srv/examples/ctakes-web-client/data/misc/stopWords.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/nonInfoWords.data (No such file or directory) Error: problem of opening/reading non-Info words file: '/srv/examples/ctakes-web-client/data/misc/nonInfoWords.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/conjunctionWord.data (No such file or directory) Error: problem of opening/reading conjunction words file: '/srv/examples/ctakes-web-client/data/misc/conjunctionWord.data'. ERR: problem of opening/reading diacritics file: '/srv/examples/ctakes-web-client/data/Unicode/diacriticMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/diacriticMap.data (No such file or directory) Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/ligatureMap.data (No such file or directory) Error: problem of opening/reading ligature file: '/srv/examples/ctakes-web-client/data/Unicode/ligatureMap.data'. Error: problem of opening/reading symbol synonym file: '/srv/examples/ctakes-web-client/data/Unicode/synonymMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/synonymMap.data (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client/data/misc/removeS.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/removeS.data (No such file or directory) Error: problem of opening/reading Unicode symbol file: '/srv/examples/ctakes-web-client/data/Unicode/symbolMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/symbolMap.data (No such file or directory) Error: problem of opening/reading Unicode file: '/srv/examples/ctakes-web-client/data/Unicode/unicodeMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/unicodeMap.data (No such file or directory) Error: problem of opening/reading nonStripMap file: '/srv/examples/ctakes-web-client/data/Unicode/nonStripMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/nonStripMap.data (No such file or directory) Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/im.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/im.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/im.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/im.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/dm.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/dm.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/dm.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/dm.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/stopWords.data (No such file or directory) Error: problem of opening/reading stop words file: '/srv/examples/ctakes-web-client/data/misc/stopWords.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/nonInfoWords.data (No such file or directory) Error: problem of opening/reading non-Info words file: '/srv/examples/ctakes-web-client/data/misc/nonInfoWords.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/conjunctionWord.data (No such file or directory) Error: problem of opening/reading conjunction words file: '/srv/examples/ctakes-web-client/data/misc/conjunctionWord.data'. ERR: problem of opening/reading diacritics file: '/srv/examples/ctakes-web-client/data/Unicode/diacriticMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/diacriticMap.data (No such file or directory) Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/ligatureMap.data (No such file or directory) Error: problem of opening/reading ligature file: '/srv/examples/ctakes-web-client/data/Unicode/ligatureMap.data'. Error: problem of opening/reading symbol synonym file: '/srv/examples/ctakes-web-client/data/Unicode/synonymMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/synonymMap.data (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client/data/misc/removeS.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/misc/removeS.data (No such file or directory) Error: problem of opening/reading Unicode symbol file: '/srv/examples/ctakes-web-client/data/Unicode/symbolMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/symbolMap.data (No such file or directory) Error: problem of opening/reading Unicode file: '/srv/examples/ctakes-web-client/data/Unicode/unicodeMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/unicodeMap.data (No such file or directory) Error: problem of opening/reading nonStripMap file: '/srv/examples/ctakes-web-client/data/Unicode/nonStripMap.data'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/Unicode/nonStripMap.data (No such file or directory) Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/im.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/im.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/im.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/im.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/dm.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/dm.rul'. Exception: java.io.FileNotFoundException: /srv/examples/ctakes-web-client/data/rules/dm.rul (No such file or directory) Error: problem of opening/reading file '/srv/examples/ctakes-web-client//data/rules/dm.rul'. 06 Jan 2017 10:31:17 INFO LvgCmdApiResourceImpl - cd /srv/examples/ctakes-web-client 06 Jan 2017 10:31:17 INFO TokenizerAnnotatorPTB - Initializing org.apache.ctakes.core.ae.TokenizerAnnotatorPTB 06 Jan 2017 10:31:17 INFO POSTagger - POS tagger model file: org/apache/ctakes/postagger/models/mayo-pos.zip 2017-01-06 10:31:17.679:INFO:oejsh.ContextHandler:main: Started o.e.j.m.p.JettyWebAppContext@4d0753c9{/,file:/srv/examples/ctakes-web-client/src/main/webapp/,AVAILABLE}{file:/srv/examples/ctakes-web-client/src/main/webapp/} 2017-01-06 10:31:17.682:WARN:oejsh.RequestLogHandler:main: !RequestLog 2017-01-06 10:31:17.701:INFO:oejs.ServerConnector:main: Started ServerConnector@6fb0261e{HTTP/1.1}{0.0.0.0:8080} 2017-01-06 10:31:17.702:INFO:oejs.Server:main: Started @23628ms [INFO] Started Jetty Server