目录
在使用CoreNLPDependencyParser包的时候,输入以下命令,执行的时候,报错,显示“[Thread-0] INFO CoreNLP - CoreNLP Server is shutting down.”
java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000
报错,显示“[Thread-0] INFO CoreNLP - CoreNLP Server is shutting down.” ,如下图

报错是因为之前运行过上面的命令,导致有一个java进程已经打开,最简单的解决办法,是直接关闭当前的服务器(如果是用vscode连接服务器,直接关闭vscode,再重新打开即可),重新开启即可。