rundeck-plugins / rundeck-azure-plugin

8 stars 16 forks source link

Loader constraint violation with 1.0.15 and 1.0.16 #35

Open mirkoknoll opened 1 year ago

mirkoknoll commented 1 year ago

Hi,

upgrading the plugin from 1.0.14 to 1.0.16 (or 1.0.15) breaks the resource model function.

The Node Source had an error: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader com.dtolabs.rundeck.core.plugins.LocalFirstClassLoader @26f1fb78 of the current class, org/slf4j/LoggerFactory, and the class loader org.springframework.boot.loader.LaunchedURLClassLoader @6895a785 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader com.dtolabs.rundeck.core.plugins.LocalFirstClassLoader @26f1fb78, parent loader org.springframework.boot.loader.LaunchedURLClassLoader @6895a785; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @6895a785, parent loader 'app')

All works good with plugin version 1.0.14 and Rundeck 4.13.0.

rundeck-azure-plugin-error.log

HairyMike commented 1 year ago

I'm receiving this same error with 1.0.17.

HairyMike commented 1 year ago

is anyone looking at this?

ReklessSVT commented 2 weeks ago

Still an issue on Rundeck 5.7 with plugin 1.0.19