Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1568

opennlp command fails when invoked from outside $OPENNLP_HOME/bin directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.4.0
    • Command Line Interface
    • None
    • Linux/Bash

    Description

      Try to run the opennlp command from outside $OPENNLP_HOME/bin directory.

      It fails with an error message similar to

       

      2024-06-15T22:44:04.900344345Z main ERROR Reconfiguration failed:
       No configuration found for '4f2410ac' at 'null' in 'null'

       

      The error is caused by the relative path in

      -Dlog4j.configurationFile=../conf/log4j2.xml 

      of the opennlp script.

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            veita Alexander Veit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: