问题运行分布式Play框架项目

我有 dist 我的播放框架项目并在我的 生产环境 服务器上部署 . 但是,当试图运行项目时,我得到一个模糊的错误;我已经四处寻找出路,但显然没有得到更好的结果 .

我的方法说明如下:

  • Project为 dist 为zip文件并上传到我的 生产环境 服务器 .

  • 运行代码/ path /到/ dist-project / projectName -Dconfig.resource = root-prod.conf -Dhttp.port = 9008&

OUTPUT RESULT

线程“main”中的异常java.lang.IllegalAccessError:尝试从io.netty.handler.ssl.Netl.SNet上获取来自io.netty.handler.ssl.NettySslPackageAccessor的类io.netty.handler.ssl.NettySslPackageAccessor中的字段io.netty.handler.ssl.JdkSslContext.SUPPORTED_CIPHERS . jdkSupportedCipherSuites(NettySslPackageAccessor.java:24)atg.asynchttpclient.config.AsyncHttpClientConfigDefaults.defaultEnabledCipherSuites(AsyncHttpClientConfigDefaults.java:85)atg.asynchttclclient.DefaultAsyncHttpClientConfig $ Builder . (DefaultAsyncHttpClientConfig.java:635)at play.api.libs.ws. ahc.AhcConfigBuilder . (AhcConfig.scala:126)at play.api.libs.ws.ahc.AhcWSClient $ .apply(AhcWS.scala:71)at play.api.libs.ws.ahc.AhcWSAPI.client $ lzycompute( AhcWS.scala:400)at play.api.libs.ws.ahc.AhcWSAPI.client(AhcWS.scala:390)at play.api.libs.ws.ahc.AhcWSAPI.client(AhcWS.scala:386)at play .api.libs.ws.ahc.WSClientProvider.get(AhcWS.scala:382),位于com.google.inject.internal.ProviderInternalFact的play.api.libs.ws.ahc.WSClientProvider.get(AhcWS.scala:381) com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)上的com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)中的ory.provision(ProviderInternalFactory.java:81)位于com.google.inject.inject.InjectorImpl.callInContext的com.google.inject.internal.ProviderToInternalFactoryAdapter $ 1.call(ProviderToInternalFactoryAdapter.java:46)中的.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62) InjectorImpl.java:1103)com.google上的com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)com.google.inject.SintonScope $ 1.get(SingletonScope.java:145) . 在com.google.inject.internal.SingleParameterInjector.getAll.SingleParameterInjector.getAll(SingleParameterInjector.java:com.google.inject.SinParameterInjector.inject(SingleParameterInjector.java:38)中的inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) . 62)在com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)位于com.google.inject.internal.ConstructorBindingImpl $ Factory的com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) . get(ConstructorBindingImpl.java:267)位于com.google.inject.internal.ProviderToInternalFactoryAdapter $ 1.call(ProviderToInternalFactoryAdapter.java:46)com的com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) . go.com.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)at com.google.inject.SintonScope $ 1.get(SingletonScope.java:145)com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter) .java:41)在com.google.inject.inject.InternalInjectorCreator的com.google.inject.InternalInjectorCreator $ 1.call(InternalInjectorCreator.java:205)的com.google.inject.inact.FactoryProxy.get(FactoryProxy.java:56) .internal.InternalInjectorCreator $ 1.call(InternalInject或者com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)中的com.google.inject.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)com.google.inject上的com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) .internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)at com.google.inject.InternalInjectorCreator.build(InternalInjectorCreator.java:110)at com.google.inject.Guice.createInjector(Guice.java:96)at com.google.inject.Guice.createInjector(Guice.java:84)at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:181)at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder . scala:123)at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)at play.core.server.ProdServerStart $ .start(ProdServerStart.scala:47)at play.core.server.ProdServerStart $ .main(ProdServerStart.scala:22)atplay.core.server.ProdServerStart.main(ProdServerStart.scala)

回答(0)