[
https://issues.apache.org/jira/browse/OPENNLP-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Zemerick resolved OPENNLP-1334.
------------------------------------
Resolution: Duplicate
> Maven Apache OpenNLP error with opennlp-distr installation
> ----------------------------------------------------------
>
> Key: OPENNLP-1334
> URL: https://issues.apache.org/jira/browse/OPENNLP-1334
> Project: OpenNLP
> Issue Type: Bug
> Environment: Windows 10, Windows PowerShell
> Reporter: Samuel Boaknin
> Priority: Major
> Attachments: opennlp-distr install debug final lines.txt,
> opennlp-distr install debug output.txt
>
>
> I am trying to install openNLP via maven. I had a few errors, but I fixed all
> of them, until I got this error here:
> {code:java}
> [INFO] Building Apache OpenNLP Distribution 1.9.3
> [7/7]
> [INFO] --------------------------------[ pom
> ]---------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @
> opennlp-distr ---
> [INFO]
> [INFO] --- forbiddenapis:2.7:check (default) @ opennlp-distr ---
> [INFO] Skipping execution for packaging "pom"
> [INFO]
> [INFO] --- forbiddenapis:2.7:testCheck (default) @ opennlp-distr ---
> [INFO] Skipping execution for packaging "pom"
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ opennlp-distr ---
> [INFO] Starting audit...
> Audit done.
> [INFO]
> [INFO] --- markdown-page-generator-plugin:1.0.0:generate (default) @
> opennlp-distr ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 11982 resources
> [INFO] Pre-processing markdown files from input directory:
> C:\apache-opennlp-1.9.3-src\opennlp-distr\target\filtered-md
> [INFO] Process Pegdown extension options
> [INFO] Parse Markdown to HTML
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache OpenNLP Reactor 1.9.3:
> [INFO]
> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [ 14.373
> s]
> [INFO] Apache OpenNLP Tools ............................... SUCCESS [01:33
> min]
> [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [ 10.563
> s]
> [INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS [ 12.244
> s]
> [INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS [ 5.673
> s]
> [INFO] Apache OpenNLP Documentation ....................... SUCCESS [ 2.429
> s]
> [INFO] Apache OpenNLP Distribution ........................ FAILURE [01:41
> min]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:04 min
> [INFO] Finished at: 2021-07-12T12:13:25-04:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.ruleoftech:markdown-page-generator-plugin:1.0.0:generate (default) on
> project opennlp-distr: Execution default of goal
> com.ruleoftech:markdown-page-generator-plugin:1.0.0:generate failed: Error
> creating extended parser class: Could not determine whether class
> 'org.pegdown.Parser$$parboiled' has already been loaded: Unable to make
> protected final java.lang.Class
> java.lang.ClassLoader.findLoadedClass(java.lang.String) accessible: module
> java.base does not "opens java.lang" to unnamed module @121c16d8 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <args> -rf :opennlp-distr
> {code}
> I looked online to try to find what to make of it, but I couldn't turn up
> anything. I followed the help link that was referenced (found
> [here|https://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException]),
> but it wasn't very helpful. I read through the error, but I don't have an
> idea as to how to debug it or fix it. Any ideas?
>
> EDIT: I'm attaching a debug log below; It goes on for a while, so I'
> snippeted what I found interesting...
--
This message was sent by Atlassian Jira
(v8.20.1#820001)