0 Replies Latest reply on Mar 13, 2017 10:24 AM by Christian Kölle

    Class javax.el.ELManger not found during deployment of war in Wildfly 10

    Christian Kölle Newbie

      I'm currently working on the migration of ou application from Wildfly 9.0.2 to 10.1.0. For the most part the changes are pretty straightforward. But now i'm stuck with a deployment error with the web application part.

      Here is the stack trace:

       

      13.03.2017 15:18:11.620; ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 75) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./reg: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./reg: java.lang.NoClassDefFoundError: javax/el/ELManager

        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) [wildfly-undertow-10.1.0.Final.jar:10.1.0.Final]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_121]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]

        at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Caused by: java.lang.NoClassDefFoundError: javax/el/ELManager

        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:218)

        at org.wildfly.extension.undertow.deployment.JspInitializationListener.contextInitialized(JspInitializationListener.java:50) [wildfly-undertow-10.1.0.Final.jar:10.1.0.Final]

        at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

        at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:200)

        at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:171)

        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

        at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

        at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

        at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

        at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

        at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

        at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

        at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:234)

        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) [wildfly-undertow-10.1.0.Final.jar:10.1.0.Final]

        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) [wildfly-undertow-10.1.0.Final.jar:10.1.0.Final]

        ... 6 more

      Caused by: java.lang.ClassNotFoundException: javax.el.ELManager from [Module "io.undertow.jsp:main" from local module loader @4b53f538 (finder: local module finder @134593bf (roots: /home/koelle/jboss/wildfly-10.1.0.Final/modules,/home/koelle/jboss/wildfly-10.1.0.Final/modules/system/layers/base))]

        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198) [jboss-modules.jar:1.5.2.Final]

        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363) [jboss-modules.jar:1.5.2.Final]

        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351) [jboss-modules.jar:1.5.2.Final]

        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93) [jboss-modules.jar:1.5.2.Final]

        ... 24 more

       

      The undertow configuration in standalone.xml ist the standard configuration from the the distribution. I played with other configuration files (web.xml an others) stripping the down to the minumum but the error persists.

       

      Any ideas are appreciated

      Christian