Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-251

FactoryFinderCache failed to read implementation when comments present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • jboss-el-api
    • None
    • Hide

      jboss-el-api_3.0_spec-2.0.0.Final.jar on classpath

      Show
      jboss-el-api_3.0_spec-2.0.0.Final.jar on classpath

      Since Tomcat 9.0.31 [1] introduced ServiceLoader entry to META-INF for EL [2] following exception occurred [3].

      The same for 'jakarta.el:jakarta.el-api:3.0.3' and its FactoryFinder.

      1. https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
      2. https://github.com/apache/tomcat/blob/9.0.31/res/META-INF/jasper-el.jar/services/javax.el.ExpressionFactory
      3.
      Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
      at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      ... 40 more
      Caused by: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
      at javax.el.FactoryFinder.newInstance(FactoryFinder.java:64)
      at javax.el.FactoryFinder.find(FactoryFinder.java:103)
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:140)
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:110)
      at org.apache.jasper.runtime.JspApplicationContextImpl.<init>(JspApplicationContextImpl.java:49)
      at org.apache.jasper.runtime.JspApplicationContextImpl.getInstance(JspApplicationContextImpl.java:78)
      at org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:217)
      at org.jboss.weld.environment.servlet.WeldServletLifecycle.initialize(WeldServletLifecycle.java:219)
      at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:62)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      ... 46 more
      Caused by: java.lang.ClassNotFoundException: # Licensed to the Apache Software Foundation (ASF) under one or more
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
      at javax.el.FactoryFinder.newInstance(FactoryFinder.java:48)
      ... 56 more

              smarlow1@redhat.com Scott Marlow
              amarkevich Alexey Markevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: