Answer the question
In order to leave comments, you need to log in
How to import a class connected via maven????
Connected the repository via maven
<dependencies>
<dependency>
<groupId>org.apache.opennlp</groupId>
<artifactId>opennlp-tools</artifactId>
<version>1.6.0</version>
</dependency>
</dependencies>
import static org.apache.opennlp.*;
Answer the question
In order to leave comments, you need to log in
I solved the problem, you need to create an instance of the class so that the import occurs ... On the contrary, it does not work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question