I upgraded my project from 6.9.9 to 6.9.11. Running a test in Intellij with 6.9.9 proceeded without errors. But now when I run my test from Intellij with 6.9.11 I get the following error immediately -
Exception in thread "main" java.lang.NoClassDefFoundError: org/testng/remote/RemoteArgs
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: java.lang.ClassNotFoundException: org.testng.remote.RemoteArgs
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
Do I need to update anything else on my end (besides changing the pom) to make it work with Intellij? Anybody else seeing this issue?