sealing violation: can't seal package org.testng: already loaded
已回答
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 share a sample project to reproduce the issue. Make sure you are not using org.testng package in your sources.