Problem:java.lang.SecurityException: sealing violation: can't seal package

Dear All,
May I know what is the meaning of
java.lang.SecurityException: sealing violation: can’t seal package …: already loaded

The particular package is write by me.


It sounds like your class is inside more than one sealed jar file. Or perhaps that you implement a class in a package that your sealed jar file defines.