Closed oberstrike closed 4 years ago
Exception:
Caused by: java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader 'bootstrap')
at org.lorislab.quarkus.testcontainers.ContainerConfig.load(ContainerConfig.java:86)
... 76 more
I am trying to set up a keycloak service with docker-compose. For this I need several commands. But in the source code everything under "command" is treated as string. So an exception is raised during casting.
Location:
package org.lorislab.quarkus.testcontainers;
line: (86)command = (String) data.get("command");
The problem is that the result is not a string but an ArrayList of strings.