Why I get org.reflections.ReflectionsException when running ReadyAPI Project from Maven Command
Hi,
I am using licensed Version of Ready API 1.8.0 and recently upgraded to 1.9.0. However, After this I faced lots of issues and rolled back to 1.8.0. The main issue I am facing right now is that the tests are green when I run it from ReadyAPI, but when I run it via Maven command I can see below warnings in the logs:
I have all the required plugins in [C:\Users\vivek.malhotra\.soapui\plugins\ready-api-git-plugin-1.1.0.jar]. Why it complains to load the plugins?
10:38:45,963 WARN [PluginLoader] Could not load plugin from file [C:\Users\vivek.malhotra\.soapui\plugins\ready-api-git-plugin-1.1.0.jar]
org.reflections.ReflectionsException: could not get type for name com.smartbear.readyapi.plugin.git.GitPluginConfig
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:389)
at org.reflections.ReflectionUtils.forNames(ReflectionUtils.java:398)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:385)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:370)
at com.eviware.soapui.plugins.PluginLoader.readPluginConfigurationClasses(SourceFile:77)
at com.eviware.soapui.plugins.PluginLoader.a(SourceFile:59)
at com.eviware.soapui.plugins.PluginManager.loadPlugins(SourceFile:92)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.loadPlugins(SourceFile:811)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:142)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:801)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:764)
at com.eviware.soapui.SoapUIProTestCaseRunner.createSoapUICore(SourceFile:200)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:178)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:134)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
10:38:45,965 INFO [PluginLoader] Adding plugin from [C:\Users\vivek.malhotra\.soapui\plugins\ready-jira-plugin-1.1-dist.jar]
10:38:46,830 WARN [PluginLoader] Could not load plugin from file [C:\Users\vivek.malhotra\.soapui\plugins\ready-jira-plugin-1.1-dist.jar]
org.reflections.ReflectionsException: could not get type for name com.smartbear.ready.plugin.jira.PluginConfig
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:389)
at org.reflections.ReflectionUtils.forNames(ReflectionUtils.java:398)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:385)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:370)
at com.eviware.soapui.plugins.PluginLoader.readPluginConfigurationClasses(SourceFile:77)
at com.eviware.soapui.plugins.PluginLoader.a(SourceFile:59)
at com.eviware.soapui.plugins.PluginManager.loadPlugins(SourceFile:92)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.loadPlugins(SourceFile:811)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:142)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:801)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:764)
at com.eviware.soapui.SoapUIProTestCaseRunner.createSoapUICore(SourceFile:200)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:178)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:134)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
10:38:46,831 INFO [PluginLoader] Adding plugin from [C:\Users\vivek.malhotra\.soapui\plugins\ready-mqtt-plugin-dist.jar]
10:38:46,867 WARN [PluginLoader] Could not load plugin from file [C:\Users\vivek.malhotra\.soapui\plugins\ready-mqtt-plugin-dist.jar]
org.reflections.ReflectionsException: could not get type for name com.smartbear.mqttsupport.PluginConfig
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:389)
at org.reflections.ReflectionUtils.forNames(ReflectionUtils.java:398)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:385)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:370)
at com.eviware.soapui.plugins.PluginLoader.readPluginConfigurationClasses(SourceFile:77)
at com.eviware.soapui.plugins.PluginLoader.a(SourceFile:59)
at com.eviware.soapui.plugins.PluginManager.loadPlugins(SourceFile:92)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.loadPlugins(SourceFile:811)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:142)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:801)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:764)
at com.eviware.soapui.SoapUIProTestCaseRunner.createSoapUICore(SourceFile:200)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:178)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:134)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
10:38:46,867 INFO [PluginLoader] Adding plugin from [C:\Users\vivek.malhotra\.soapui\plugins\ready-uxm-plugin-1.0.jar]
10:38:46,886 WARN [PluginLoader] Could not load plugin from file [C:\Users\vivek.malhotra\.soapui\plugins\ready-uxm-plugin-1.0.jar]
org.reflections.ReflectionsException: could not get type for name com.smartbear.ready.PluginConfig
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:389)
at org.reflections.ReflectionUtils.forNames(ReflectionUtils.java:398)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:385)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:370)
at com.eviware.soapui.plugins.PluginLoader.readPluginConfigurationClasses(SourceFile:77)
at com.eviware.soapui.plugins.PluginLoader.a(SourceFile:59)
at com.eviware.soapui.plugins.PluginManager.loadPlugins(SourceFile:92)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.loadPlugins(SourceFile:811)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:142)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:801)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:764)
at com.eviware.soapui.SoapUIProTestCaseRunner.createSoapUICore(SourceFile:200)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:178)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:134)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
10:38:46,886 INFO [PluginLoader] Adding plugin from [C:\Users\vivek.malhotra\.soapui\plugins\soapui-swagger-plugin-2.5.1-dist.jar]
10:38:47,081 WARN [PluginLoader] Could not load plugin from file [C:\Users\vivek.malhotra\.soapui\plugins\soapui-swagger-plugin-2.5.1-dist.jar]
org.reflections.ReflectionsException: could not get type for name com.smartbear.swagger.PluginConfig
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:389)
at org.reflections.ReflectionUtils.forNames(ReflectionUtils.java:398)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:385)
at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:370)
at com.eviware.soapui.plugins.PluginLoader.readPluginConfigurationClasses(SourceFile:77)
at com.eviware.soapui.plugins.PluginLoader.a(SourceFile:59)
at com.eviware.soapui.plugins.PluginManager.loadPlugins(SourceFile:92)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.loadPlugins(SourceFile:811)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:142)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:801)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:764)
at com.eviware.soapui.SoapUIProTestCaseRunner.createSoapUICore(SourceFile:200)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:178)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:134)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)