uber / uReplicator

Improvement of Apache Kafka Mirrormaker
Apache License 2.0
917 stars 199 forks source link

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/bio/SocketConnector ,java.lang.NoClassDefFoundError: org/eclipse/jetty/server/nio/SelectChannelConnector,java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ssl/SslSelectChannelConnector #265

Closed Bruce2jiang closed 5 years ago

Bruce2jiang commented 5 years ago

Unable to register the helper org.restlet.ext.jetty.AjpServerHelper

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/bio/SocketConnector at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.getConstructor(Class.java:1825) at org.restlet.engine.Engine.registerHelper(Engine.java:896) at org.restlet.engine.Engine.registerHelpers(Engine.java:928) at org.restlet.engine.Engine.registerHelpers(Engine.java:968) at org.restlet.engine.Engine.discoverConnectors(Engine.java:660) at org.restlet.engine.Engine.(Engine.java:495) at org.restlet.engine.Engine.register(Engine.java:386) at org.restlet.engine.Engine.register(Engine.java:372) at org.restlet.engine.Engine.getInstance(Engine.java:256) at org.restlet.Restlet.(Restlet.java:131) at org.restlet.Connector.(Connector.java:89) at org.restlet.Client.(Client.java:87) at org.restlet.Client.(Client.java:115) at org.restlet.Client.(Client.java:135) at com.uber.stream.kafka.mirrormaker.controller.rest.RestTestBase.(RestTestBase.java:40) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:29) at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:387) at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299) at org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:110) at org.testng.internal.ClassImpl.getInstances(ClassImpl.java:195) at org.testng.internal.TestNGClassFinder.(TestNGClassFinder.java:120) at org.testng.TestRunner.initMethods(TestRunner.java:409) at org.testng.TestRunner.init(TestRunner.java:235) at org.testng.TestRunner.init(TestRunner.java:205) at org.testng.TestRunner.(TestRunner.java:153) at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522) at org.testng.SuiteRunner.init(SuiteRunner.java:157) at org.testng.SuiteRunner.(SuiteRunner.java:111) at org.testng.TestNG.createSuiteRunner(TestNG.java:1263) at org.testng.TestNG.createSuiteRunners(TestNG.java:1250) at org.testng.TestNG.runSuitesLocally(TestNG.java:1104) at org.testng.TestNG.run(TestNG.java:1025) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:126) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117) 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:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.bio.SocketConnector at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 64 more Unable to register the helper org.restlet.ext.jetty.HttpServerHelper

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/nio/SelectChannelConnector at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.getConstructor(Class.java:1825) at org.restlet.engine.Engine.registerHelper(Engine.java:896) at org.restlet.engine.Engine.registerHelpers(Engine.java:928) at org.restlet.engine.Engine.registerHelpers(Engine.java:968) at org.restlet.engine.Engine.discoverConnectors(Engine.java:660) at org.restlet.engine.Engine.(Engine.java:495) at org.restlet.engine.Engine.register(Engine.java:386) at org.restlet.engine.Engine.register(Engine.java:372) at org.restlet.engine.Engine.getInstance(Engine.java:256) at org.restlet.Restlet.(Restlet.java:131) at org.restlet.Connector.(Connector.java:89) at org.restlet.Client.(Client.java:87) at org.restlet.Client.(Client.java:115) at org.restlet.Client.(Client.java:135) at com.uber.stream.kafka.mirrormaker.controller.rest.RestTestBase.(RestTestBase.java:40) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:29) at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:387) at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299) at org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:110) at org.testng.internal.ClassImpl.getInstances(ClassImpl.java:195) at org.testng.internal.TestNGClassFinder.(TestNGClassFinder.java:120) at org.testng.TestRunner.initMethods(TestRunner.java:409) at org.testng.TestRunner.init(TestRunner.java:235) at org.testng.TestRunner.init(TestRunner.java:205) at org.testng.TestRunner.(TestRunner.java:153) at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522) at org.testng.SuiteRunner.init(SuiteRunner.java:157) at org.testng.SuiteRunner.(SuiteRunner.java:111) at org.testng.TestNG.createSuiteRunner(TestNG.java:1263) at org.testng.TestNG.createSuiteRunners(TestNG.java:1250) at org.testng.TestNG.runSuitesLocally(TestNG.java:1104) at org.testng.TestNG.run(TestNG.java:1025) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:126) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117) 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:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.nio.SelectChannelConnector at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 52 more Unable to register the helper org.restlet.ext.jetty.HttpsServerHelper

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ssl/SslSelectChannelConnector at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.getConstructor(Class.java:1825) at org.restlet.engine.Engine.registerHelper(Engine.java:896) at org.restlet.engine.Engine.registerHelpers(Engine.java:928) at org.restlet.engine.Engine.registerHelpers(Engine.java:968) at org.restlet.engine.Engine.discoverConnectors(Engine.java:660) at org.restlet.engine.Engine.(Engine.java:495) at org.restlet.engine.Engine.register(Engine.java:386) at org.restlet.engine.Engine.register(Engine.java:372) at org.restlet.engine.Engine.getInstance(Engine.java:256) at org.restlet.Restlet.(Restlet.java:131) at org.restlet.Connector.(Connector.java:89) at org.restlet.Client.(Client.java:87) at org.restlet.Client.(Client.java:115) at org.restlet.Client.(Client.java:135) at com.uber.stream.kafka.mirrormaker.controller.rest.RestTestBase.(RestTestBase.java:40) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:29) at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:387) at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299) at org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:110) at org.testng.internal.ClassImpl.getInstances(ClassImpl.java:195) at org.testng.internal.TestNGClassFinder.(TestNGClassFinder.java:120) at org.testng.TestRunner.initMethods(TestRunner.java:409) at org.testng.TestRunner.init(TestRunner.java:235) at org.testng.TestRunner.init(TestRunner.java:205) at org.testng.TestRunner.(TestRunner.java:153) at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522) at org.testng.SuiteRunner.init(SuiteRunner.java:157) at org.testng.SuiteRunner.(SuiteRunner.java:111) at org.testng.TestNG.createSuiteRunner(TestNG.java:1263) at org.testng.TestNG.createSuiteRunners(TestNG.java:1250) at org.testng.TestNG.runSuitesLocally(TestNG.java:1104) at org.testng.TestNG.run(TestNG.java:1025) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:126) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117) 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:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.ssl.SslSelectChannelConnector at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 52 more

Bruce2jiang commented 5 years ago

please help

Technoboy- commented 5 years ago

what is the restlet.version in ur pom.xml