Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Works for Me
-
8.0.12
-
None
-
None
-
Windows 10, OpenJDK 17
Description
When deploying my (unmodified) webapp to TomEE 8.0.12 the deployment fails with:
02-Aug-2022 21:29:01.585 INFO [http-nio-8080-exec-9] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /
02-Aug-2022 21:29:01.764 SEVERE [http-nio-8080-exec-9] jdk.internal.reflect.NativeMethodAccessorImpl.invoke Environment entry [api.server.port] has an invalid value
02-Aug-2022 21:29:03.224 INFO [http-nio-8080-exec-9] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise application: C:\Users\Marcus\Documents\Synced\SailSim\dev\src\main\xrnautServer\target\XrnautServer-5.4-SNAPSHOT
java.lang.NoClassDefFoundError: org/apache/abdera/model/Element
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2504)
at org.apache.openejb.config.rules.CheckRestMethodArePublic.valid(CheckRestMethodArePublic.java:122)
at org.apache.openejb.config.rules.CheckRestMethodArePublic.validate(CheckRestMethodArePublic.java:99)
at org.apache.openejb.config.AppValidator.validate(AppValidator.java:102)
at org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:38)
at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:420)
at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:1033)
at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1318)
at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1162)
at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:134)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:690)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:538)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1690)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:293)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:814)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1614)
at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:1026)
at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)
02-Aug-2022 21:29:04.730 SEVERE [http-nio-8080-exec-9] org.apache.openejb.config.ReportValidationResults.logResults ERROR ... null: Cannot validate jar: org/apache/abdera/model/Element
Any Idea what's going wrong with 8.0.12?