[ 
https://issues.apache.org/jira/browse/OPENNLP-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joern Kottmann reopened OPENNLP-636:
------------------------------------


Loading of the extensions fails now, because they don't have a default 
constructor. To fix this we need to change the abstract trainer classes to be 
initialized by an init method instead of passing the parameters in via the 
constructor.

> TrainerFactory uses Class.forName and will not work well in an OSGi 
> environment
> -------------------------------------------------------------------------------
>
>                 Key: OPENNLP-636
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-636
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Machine Learning
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Remove the usage of Class.forName from the TrainerFactory class to make it 
> compatible with OSGi.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to