I cannot belive it. For some strange reason it is working now. I can't tell what happend to my java program that made a difference.
Mayby there was a mistake in the (very long) "classpath" argument before the "commons-lang3-3.18.0.jar" entrie that I didn't recognize. But I am not sure. Is it possible that this was causing the exaption?