Debugging plugin in IntelliJ

(Russ Coon) #1

Working on my first plugin I’m having a little trouble setting up the run configuration. I found this image posted by jochen in another forum from last year. Is this still the best way? When I put in org.graylog2.bootstrap.Main I got an error that it couldn’t find it in Runner.

(Jochen) #2

Yes, that’s still the correct setting.

Take a look at and for details.

(Russ Coon) #3

I’m following both of those and am still getting
Class ‘org.graylog2.bootstrap.Main’ not found in module ‘runner’

Any ideas? I’ve been at this for at least 15 hours trying to get it to work.

(Russ Coon) #4

Any updates on this? I’m still stuck on getting this to work.

(Russ Coon) #5

A week later still no response on this. I thought you guys wanted to encourage people to develop for Graylog.

(Jochen) #6

Looks like the deprecated graylog-project tooling is broken (again) and it won’t be fixed, so don’t hold your breath for it.

You can still simply check out the graylog2-server repository and add it as a module to your plugin workspace in IntelliJ IDEA to run everything in the same class path. While it’s not very elegant, it at least works. ¯\(ツ)

(Russ Coon) #7

Perfect I’ll give it a try thanks.