Xavier Devroey
Xavier Devroey
Hi @MaelAudren, From the error message, there seems to be a conflict in the classloaders. The same class loaded by two different class loaders. The shadowing performed when building the...
I saw it by decompressing the fat .jar file produced by the plugin and checking that the directories tree does not contain the original packages hierarchy. In the example I...
Stack trace for botsing-reproduction is: ``` java.lang.RuntimeException: Failed to load XML schemas: [classpath:pdp.xsd] at org.ow2.authzforce.core.pdp.impl.SchemaHandler.createSchema(SchemaHandler.java:541) at org.ow2.authzforce.core.pdp.impl.PdpModelHandler.(PdpModelHandler.java:159) at org.ow2.authzforce.core.pdp.impl.PdpEngineConfiguration.getInstance(PdpEngineConfiguration.java:682) at org.ow2.authzforce.core.pdp.impl.PdpEngineConfiguration.getInstance(PdpEngineConfiguration.java:699) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ```
Class `org.ow2.authzforce.core.pdp.impl.PdpExtensions` has a user defined static class initialiser. EvoSuite class loader seems unnable to load the class (?).