IBM Bluemix Cloud Foundry SpringBoot kotlin应用程序错误

我在IBM Bluemix上部署了一个用kotlin编写的spring引导应用程序。 我使用java的自由。

但我不能正确运行我的应用程序,但在我的机器在本地工作得很好。

当我打电话给我的REST API时,返回错误或不工作。

这是错误的:

有一个意外的错误(type = Internal Server Error,status = 500)。 java.lang.NoClassDefFoundError:it.gate42.skip.DeviceInfo.DeviceInfo_Accessor_ewee6w(初始化失败)

我已经试图改变Java版本,但错误是一样的。 (我已经设置了OPEN_JDK和版本1.8。+)

这是返回我的云代工应用程序的通话记录: https : //gist.github.com/paranoiasystem/a28a2587c231f2b398c4650ba1c7016c

我已经张贴在要点上,因为这么长,这是不可能发布所有日志在这里。

我已经解决了这个问题,我已经重写我的manifest.yml像这样:

--- applications: - name: testskipapi memory: 1G instances: 1 path: build/libs/skipcode-0.0.1-SNAPSHOT.jar buildpack: https://github.com/cloudfoundry/java-buildpack.git env: JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 1.8.0_+ } }' 
Interesting Posts