We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I upgraded to version 6.0.2.52 and i'm still getting this when trying to run Sonar from TeamCity:
ERROR: Error during Sonar runner execution
[00:50:42]org.sonar.runner.impl.RunnerException: Unable to execute Sonar
[00:50:42] at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
[00:50:42] at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
[00:50:42] at java.security.AccessController.doPrivileged(Native Method)
[00:50:42] at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
[00:50:42] at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
[00:50:42] at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
[00:50:42] at org.sonar.runner.api.Runner.execute(Runner.java:100)
[00:50:42] at org.sonar.runner.Main.executeTask(Main.java:70)
[00:50:42] at org.sonar.runner.Main.execute(Main.java:59)
[00:50:42] at org.sonar.runner.Main.main(Main.java:53)
[00:50:42]Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
[00:50:42] at java.lang.ClassLoader.defineClass1(Native Method)
[00:50:42] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[00:50:42] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[00:50:42] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[00:50:42] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[00:50:42] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[00:50:42] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[00:50:42] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[00:50:42] at org.sonar.runner.impl.IsolatedClassloader.loadClass(IsolatedClassloader.java:94)
[00:50:42] at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:84)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
[00:50:42] at org.sonar.classloader.DefaultClassloaderRef.loadClassIfPresent(DefaultClassloaderRef.java:40)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClassFromParent(ClassRealm.java:147)
[00:50:42] at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:35)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
[00:50:42] at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
[00:50:42] at net.trajano.sonar.plugins.reverseproxyauth.ReverseProxyAuthPlugin.define(ReverseProxyAuthPlugin.java:37)
[00:50:42] at org.sonar.scanner.bootstrap.ExtensionInstaller.install(ExtensionInstaller.java:55)
[00:50:42] at org.sonar.scanner.task.TaskContainer.addTaskExtensions(TaskContainer.java:62)
[00:50:42] at org.sonar.scanner.task.TaskContainer.doBeforeStart(TaskContainer.java:49)
[00:50:42] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)
[00:50:42] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:128)
[00:50:42] at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:118)
[00:50:42] at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:117)
[00:50:42] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:77)
[00:50:42] at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
[00:50:42] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[00:50:42] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[00:50:42] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[00:50:42] at java.lang.reflect.Method.invoke(Method.java:498)
[00:50:42] at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
[00:50:42] ... 9 more
[00:50:42]Caused by: java.lang.ClassNotFoundException: javax.servlet.Filter
[00:50:42] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[00:50:42] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[00:50:42] ... 55 more
[00:50:42]Process exited with code 1
If I remove the plugin and sonar.security.realm=reverseproxyauth from the sonar.properties, it works.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I upgraded to version 6.0.2.52 and i'm still getting this when trying to run Sonar from TeamCity:
ERROR: Error during Sonar runner execution
[00:50:42]org.sonar.runner.impl.RunnerException: Unable to execute Sonar
[00:50:42] at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
[00:50:42] at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
[00:50:42] at java.security.AccessController.doPrivileged(Native Method)
[00:50:42] at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
[00:50:42] at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
[00:50:42] at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
[00:50:42] at org.sonar.runner.api.Runner.execute(Runner.java:100)
[00:50:42] at org.sonar.runner.Main.executeTask(Main.java:70)
[00:50:42] at org.sonar.runner.Main.execute(Main.java:59)
[00:50:42] at org.sonar.runner.Main.main(Main.java:53)
[00:50:42]Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
[00:50:42] at java.lang.ClassLoader.defineClass1(Native Method)
[00:50:42] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[00:50:42] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[00:50:42] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[00:50:42] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[00:50:42] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[00:50:42] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[00:50:42] at java.security.AccessController.doPrivileged(Native Method)
[00:50:42] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[00:50:42] at org.sonar.runner.impl.IsolatedClassloader.loadClass(IsolatedClassloader.java:94)
[00:50:42] at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:84)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
[00:50:42] at org.sonar.classloader.DefaultClassloaderRef.loadClassIfPresent(DefaultClassloaderRef.java:40)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClassFromParent(ClassRealm.java:147)
[00:50:42] at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:35)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
[00:50:42] at java.lang.ClassLoader.defineClass1(Native Method)
[00:50:42] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[00:50:42] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[00:50:42] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[00:50:42] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[00:50:42] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[00:50:42] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[00:50:42] at java.security.AccessController.doPrivileged(Native Method)
[00:50:42] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
[00:50:42] at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
[00:50:42] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
[00:50:42] at net.trajano.sonar.plugins.reverseproxyauth.ReverseProxyAuthPlugin.define(ReverseProxyAuthPlugin.java:37)
[00:50:42] at org.sonar.scanner.bootstrap.ExtensionInstaller.install(ExtensionInstaller.java:55)
[00:50:42] at org.sonar.scanner.task.TaskContainer.addTaskExtensions(TaskContainer.java:62)
[00:50:42] at org.sonar.scanner.task.TaskContainer.doBeforeStart(TaskContainer.java:49)
[00:50:42] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)
[00:50:42] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:128)
[00:50:42] at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:118)
[00:50:42] at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:117)
[00:50:42] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:77)
[00:50:42] at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
[00:50:42] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[00:50:42] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[00:50:42] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[00:50:42] at java.lang.reflect.Method.invoke(Method.java:498)
[00:50:42] at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
[00:50:42] ... 9 more
[00:50:42]Caused by: java.lang.ClassNotFoundException: javax.servlet.Filter
[00:50:42] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[00:50:42] at org.sonar.runner.impl.IsolatedClassloader.loadClass(IsolatedClassloader.java:94)
[00:50:42] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[00:50:42] ... 55 more
[00:50:42]Process exited with code 1
If I remove the plugin and sonar.security.realm=reverseproxyauth from the sonar.properties, it works.
The text was updated successfully, but these errors were encountered: