wizecore / graylog2-output-syslog

Customizable, production ready syslog and ArcSight output plugin for Graylog
Apache License 2.0
38 stars 19 forks source link

building the plugin with mvn package fails with errors #60

Closed kontiki99 closed 1 week ago

kontiki99 commented 3 weeks ago

Hello, I downloaded the plugin and tried to build it with mvn package, but it fails with error "T E S T S Running com.wizecore.graylog2.plugin.test.TestFullSender Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.107 sec <<< FAILURE! testMessageTruncation(com.wizecore.graylog2.plugin.test.TestFullSender) Time elapsed: 0.073 sec <<< ERROR! java.lang.NoClassDefFoundError: com/swrve/ratelimitedlogger/RateLimitedLog at org.graylog2.plugin.utilities.ratelimitedlog.RateLimitedLogFactory.createRateLimitedLog(RateLimitedLogFactory.java:31) at org.graylog2.plugin.Message.(Message.java:89)´" . Any hints please? I admit I am first time maven user.

I setu up envirinment on Oracle Linux. I downloaded Java JDK version 17.

huksley commented 3 weeks ago

Try running maven with -DskipTests this will skip tests

kontiki99 commented 3 weeks ago

uf, it works now! It built and also graylog starts. Thank you so much.

huksley commented 1 week ago

Fixed in the latest version.