Hi Martin,
Thanks for your answer! Yes, I noticed that there are differences between the JDK's.
I my case I did not touch the JDK.
I work with:
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
What is curious: This setup works perfectly on Tomcat7x. But on Tomcat8x. it seems that the importPackage command fails.
… I role back to Tomcat7 now and start with further tests and keep you updated 🙂
Best regards from Nuremberg.