While run in NetBeans it runs perfectly but when build and go to dist and run executable jar file report cannot run. Then I tried to run in cmd I got an error
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init> (Z) V
While run in NetBeans it runs perfectly but when build and go to dist and run executable jar file report cannot run. Then I tried to run in cmd I got an error
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init> (Z) V
It looks like the version of ASM library is different when program runs inside NetBeans and when run in cmd. Review your project setup and ensure that your IDE setup matches your standalone setup.