Github user rmannibucau commented on the issue:
https://github.com/apache/tomee/pull/176
Thnking to users having a java -cp command launching Cli (we have a few).
Side note: i think you still close the classloader before it is finished to
be used - after cli execution pby---
