Errors when compiling a plugin



I tried to make a new pipeline processor function, based on the blog example:

For some reason, mvn gives the following error:

[ERROR] /home/kex/workspace/graylog-plugin-function-tagmatcher/src/main/java/com/example/plugins/tagmatcher/[107,19] cannot find symbol
[ERROR] symbol: class ParameterDescriptor

What would be the proper import to add to make this work? Or am I doing something else wrong here?


Feeling stupid; google helped finally:

import org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;

(Jochen) #3

FWIW, most Java IDEs such as IntelliJ IDEA or Eclipse provide tools to automatically find the missing imports.

(system) closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.