sealing violation: can't seal package org.testng: already loaded
Answered
Getting the error Exception in thread "main" java.lang.SecurityException: sealing violation: can't seal package org.testng: already loaded with a very simple TestNG case. I'm trying to figure out how to write/execute a single TestNG method.


Please sign in to leave a comment.
Please share a sample project to reproduce the issue. Make sure you are not using org.testng package in your sources.