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/01/14 23:47:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13871312#comment-13871312 ] 

Joern Kottmann commented on OPENNLP-631:
----------------------------------------

Mark, I can take over this issue, if you want.

> 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
>
> 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)