无法在使用最新 s4sdk 构建的 SCP Neo 上启动 webapp

unable to start webapp on SCP Neo build with latest s4sdk

Java 使用最新(2.13.1, 2.12.0) s4SDK 构建的应用程序无法在SCP NEO 上启动。单独部署Helloworld时效果很好

有什么建议请给我。

使用s4SDK 2.3.1构建的App(.war)可以正常部署和启动。 两者都是相同的 java 代码,基于 s4sdk 教程,从 s/4hana 获取业务合作伙伴数据。

following is the log

2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##04:32:08.761 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase - ContainerBase.addChild: start: | 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/qmyneoproject2120-application]]| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.FutureTask.run(FutureTask.java:266)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.lang.Thread.run(Thread.java:836)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Unable to create annotation scanner for web module qmyneoproject2120-application: null| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2305)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1188)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## ... 10 common frames omitted| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##Caused by: org.apache.openejb.OpenEJBException: Unable to create annotation scanner for web module qmyneoproject2120-application: null| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:886)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:233)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2303)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## ... 16 common frames omitted| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##Caused by: java.lang.IllegalArgumentException: null| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.xbean.asm5.ClassReader.(Unknown Source)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.xbean.asm5.ClassReader.(Unknown Source)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.xbean.asm5.ClassReader.(Unknown Source)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1169)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:147)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:160)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.FinderFactory$OpenEJBAnnotationFinder.(FinderFactory.java:546)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.FinderFactory.newFinder(FinderFactory.java:267)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.FinderFactory.create(FinderFactory.java:80)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.FinderFactory.createFinder(FinderFactory.java:69)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:878)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## ... 18 common frames omitted| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##04:32:08.777 [localhost-startStop-1] ERROR org.apache.catalina.startup.HostConfig - Error deploying web application archive [/usr/sap/ljs/webapps/qmyneoproject2120-application.war]| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13##java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/qmyneoproject2120-application]]| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:758)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.FutureTask.run(FutureTask.java:266)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)| 2019 03 29 04:32:08#INFO#LJS_OUTPUT#Thread-13## at java.lang.Thread.run(Thread.java:836)|


您似乎对 Lombok 使用了不正确的范围 compile

它应该适用于范围 provided:

<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <scope>provided</scope>
</dependency>