You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2014/02/21 16:35:19 UTC
[jira] [Closed] (OPENNLP-631) EntityLinkerFactory.getLinker does
not work in OSGi environment
[ https://issues.apache.org/jira/browse/OPENNLP-631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joern Kottmann closed OPENNLP-631.
----------------------------------
Resolution: Fixed
> EntityLinkerFactory.getLinker does not work in OSGi environment
> ---------------------------------------------------------------
>
> Key: OPENNLP-631
> URL: https://issues.apache.org/jira/browse/OPENNLP-631
> Project: OpenNLP
> Issue Type: Bug
> Components: Entity Linker
> Reporter: Joern Kottmann
> Assignee: Joern Kottmann
> Fix For: 1.6.0
>
>
> The EntityLinkerFactory.getLinker method uses Class.forName to instantiate a class configured in the properties file. That will not work if OpenNLP is running in an OSGi environment.
> To fix this the factory should use the ExtensionLoader util class.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)