Alexander Veit created OPENNLP-1568:
---------------------------------------
Summary: opennlp command fails when invoked from outside
$OPENNLP_HOME/bin directory
Key: OPENNLP-1568
URL: https://issues.apache.org/jira/browse/OPENNLP-1568
Project: OpenNLP
Issue Type: Bug
Components: Command Line Interface
Affects Versions: 2.3.3
Environment: Linux/Bash
Reporter: Alexander Veit
Try to run the opennlp command from outside $OPENNLP_HOME/bin directory.
It fails with an error message similar to
{noformat}
2024-06-15T22:44:04.900344345Z main ERROR Reconfiguration failed:
No configuration found for '4f2410ac' at 'null' in 'null'{noformat}
The error is caused by the relative path in
{code:java}
-Dlog4j.configurationFile=../conf/log4j2.xml {code}
of the opennlp script.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)