My Oracle Support Banner

GateListener Needs That ANNIE plugin Be Always Loaded (Doc ID 1550838.1)

Last updated on JANUARY 16, 2020

Applies to:

Oracle Spatial and Graph - Version and later
Information in this document applies to any platform.


Trying to use the GateListener with GATE receiving error:

"C:\Program Files (x86)\Java\jdk1.6.0_35\bin\java" -classpath .;"C:\Program Files\GATE-5.0\bin\*";"C:\Program Files\GATE-5.0\lib\*" GateListener 12000

You may need first to load the plugin that contains your resource.
For example, to create a gate.creole.tokeniser.DefaultTokeniser
you need first to load the ANNIE plugin.

Go to the menu File->Manage CREOLE plugins or use the method

We tried adding to the plugin-loader statement for natural language processing immediately after the Gate.init(); statement :
Gate.getCreoleRegister().registerDirectories(new File("/home/oracle/downloads/GATE/gate-6.0-build3764-BIN/plugins/OpenNLP").toURI().toURL()); as shown in the GATE documentation/forums but this throws a compilation error
./ cannot find symbol
symbol : class File
location: class GateListener
File gateHome = gate.getGateHome();


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.