教程"在自定义逻辑中使用JPA"无法完成

2020-08-25 12:39发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


教程无法完成

在自定义逻辑中使用JPA

https://developers.sap.com/tutorials/

中包含的cp-apm-05-using-jpa.html

使用SAP Cloud Application编程模型创建完整的 堆栈应用

在第4步之后-从Tomcat更改为TomEE运行时
无法启动srv(后端)(在Tomcat上运行良好)并且失败并出现错误:

启动Servlet引擎:Apache Tomcat(TomEE)/7.0.90(1.7.5)
....

TomEERuntimeException:org.apache.openejb.OpenEJBException:无法为Web模块创建注释扫描器:null"," \ tat org.apa che.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2198)"," \ tat org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1147)"," \ tat org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)"," \ tat org。 apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)"," \ tat org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)"," \ tat org.apache.catalina。 util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)"," \ t org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5566)"," \ tat org.apache.catalina.util.LifecycleBase。 start(LifecycleBase.java:145)"," \ t ... 6个更多","原因:org.apache.openejb.OpenEJBException:无法为Web模块创建注释扫描器:null"," \ t o rg.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:849)"," \ tat org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:221)"," \ tat org.apache。 tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2196)"," \ t ... 13 more","原因:java.lang.RuntimeException"," \ org.apache.xbean.asm5.MethodVisitor。 visitTypeAnnotation(Unknown Source)"," \ tat org.apache.xbean.asm5.ClassReader.b(未知来源)"," \ tat org.apache.xbean.asm5.ClassReader.accept(Unknown Source)"," \ tat org.apache.xbean.asm5.ClassReader.accept(未知来源)"," \ org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1170)"," \ org.apache.xbean.finder .AnnotationFinder。 (AnnotationFinder.java:147)"," \ tat org.apache.xbean.finder.AnnotationFinder。 (AnnotationFinder.java:160)"," \ tat org.apache.openejb.config.FinderFactory $ OpenEJBAnnotationFinder。 (FinderFactory.java:514)"," \\ org.apache.openejb.config.FinderFactory.newFinder(FinderFactory.java:259)"," \" org.apache.openejb.config.FinderFactory.create( FinderFactory.java:77)"," \\ org.apache.openejb.config。查找erFactory.createFinder(FinderFactory.java:66)"

找到了一些线索...,但是我无法升级TomEE版本-它由云服务

https://stackoverflow.com/questions/58005592/how-to-get-rid-of-unable-to-create-annotation-scanner-for-web-module-null-error

https://issues.apache.org/jira/browse/XBEAN-286

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


教程无法完成

在自定义逻辑中使用JPA

https://developers.sap.com/tutorials/

中包含的cp-apm-05-using-jpa.html

使用SAP Cloud Application编程模型创建完整的 堆栈应用

在第4步之后-从Tomcat更改为TomEE运行时
无法启动srv(后端)(在Tomcat上运行良好)并且失败并出现错误:

启动Servlet引擎:Apache Tomcat(TomEE)/7.0.90(1.7.5)
....

TomEERuntimeException:org.apache.openejb.OpenEJBException:无法为Web模块创建注释扫描器:null"," \ tat org.apa che.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2198)"," \ tat org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1147)"," \ tat org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)"," \ tat org。 apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)"," \ tat org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)"," \ tat org.apache.catalina。 util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)"," \ t org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5566)"," \ tat org.apache.catalina.util.LifecycleBase。 start(LifecycleBase.java:145)"," \ t ... 6个更多","原因:org.apache.openejb.OpenEJBException:无法为Web模块创建注释扫描器:null"," \ t o rg.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:849)"," \ tat org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:221)"," \ tat org.apache。 tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2196)"," \ t ... 13 more","原因:java.lang.RuntimeException"," \ org.apache.xbean.asm5.MethodVisitor。 visitTypeAnnotation(Unknown Source)"," \ tat org.apache.xbean.asm5.ClassReader.b(未知来源)"," \ tat org.apache.xbean.asm5.ClassReader.accept(Unknown Source)"," \ tat org.apache.xbean.asm5.ClassReader.accept(未知来源)"," \ org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1170)"," \ org.apache.xbean.finder .AnnotationFinder。 (AnnotationFinder.java:147)"," \ tat org.apache.xbean.finder.AnnotationFinder。 (AnnotationFinder.java:160)"," \ tat org.apache.openejb.config.FinderFactory $ OpenEJBAnnotationFinder。 (FinderFactory.java:514)"," \\ org.apache.openejb.config.FinderFactory.newFinder(FinderFactory.java:259)"," \" org.apache.openejb.config.FinderFactory.create( FinderFactory.java:77)"," \\ org.apache.openejb.config。查找erFactory.createFinder(FinderFactory.java:66)"

找到了一些线索...,但是我无法升级TomEE版本-它由云服务

https://stackoverflow.com/questions/58005592/how-to-get-rid-of-unable-to-create-annotation-scanner-for-web-module-null-error

https://issues.apache.org/jira/browse/XBEAN-286

付费偷看设置
发送
2条回答
Aaron 3364
1楼-- · 2020-08-25 13:16

嗨Michal,

感谢您举报。 CAP团队将尽快与您联系。

最诚挚的问候,
Iwona

一只江湖小虾
2楼-- · 2020-08-25 13:24

Hi Michal,

感谢您报告此问题。 我不是该特定教程的所有者,所以恐怕我不能帮助您解决该问题。 如果您认为这是本教程本身的问题,请通过本教程右侧(在目录框中)的"提供反馈"链接打开GitHub问题。

消息将直接转发给教程所有者。

一周热门 更多>