java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspWriterImpl$1 from [Module "org.jboss.as.web:main" from local module loader @e61fd1 (roots: /Users/cfang/as/modules)]

JBoss Issue Tracker | Cheng Fang | 4 years ago
  1. 0

    When starting AS 7 master build (7.2) with security manager on, had the following error: {noformat} 22:04:32,142 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.0.Final 22:04:32,187 ERROR [org.apache.jasper] (MSC service thread 1-8) JBWEB005034: Error loading core class: java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspWriterImpl$1 from [Module "org.jboss.as.web:main" from local module loader @e61fd1 (roots: /Users/cfang/as/modules)] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.3.GA] at org.apache.jasper.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java:107) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:72) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at java.lang.Class.forName0(Native Method) [classes.jar:1.6.0_37] at java.lang.Class.forName(Class.java:247) [classes.jar:1.6.0_37] at org.apache.catalina.core.JasperListener.lifecycleEvent(JasperListener.java:52) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:406) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.catalina.core.StandardServer.init(StandardServer.java:393) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.jboss.as.web.WebServerService.start(WebServerService.java:101) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_37] at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_37] {noformat} Looks like org.apache.jasper.security.SecurityClassLoad needs update to remove the loading of org.apache.jasper.runtime.JspWriterImpl$1, which does not exist any more.

    JBoss Issue Tracker | 4 years ago | Cheng Fang
    java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspWriterImpl$1 from [Module "org.jboss.as.web:main" from local module loader @e61fd1 (roots: /Users/cfang/as/modules)]
  2. 0

    When starting AS 7 master build (7.2) with security manager on, had the following error: {noformat} 22:04:32,142 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.0.Final 22:04:32,187 ERROR [org.apache.jasper] (MSC service thread 1-8) JBWEB005034: Error loading core class: java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspWriterImpl$1 from [Module "org.jboss.as.web:main" from local module loader @e61fd1 (roots: /Users/cfang/as/modules)] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.3.GA] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.3.GA] at org.apache.jasper.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java:107) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:72) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at java.lang.Class.forName0(Native Method) [classes.jar:1.6.0_37] at java.lang.Class.forName(Class.java:247) [classes.jar:1.6.0_37] at org.apache.catalina.core.JasperListener.lifecycleEvent(JasperListener.java:52) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:406) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.apache.catalina.core.StandardServer.init(StandardServer.java:393) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2] at org.jboss.as.web.WebServerService.start(WebServerService.java:101) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_37] at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_37] {noformat} Looks like org.apache.jasper.security.SecurityClassLoad needs update to remove the loading of org.apache.jasper.runtime.JspWriterImpl$1, which does not exist any more.

    JBoss Issue Tracker | 4 years ago | Cheng Fang
    java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspWriterImpl$1 from [Module "org.jboss.as.web:main" from local module loader @e61fd1 (roots: /Users/cfang/as/modules)]
  3. 0

    Deploy a Java Enterprise Application fails

    Stack Overflow | 3 years ago | Luis Alves
    java.lang.ClassNotFoundException: a.NewSessionBean from [Module "deployment.teste-ejb.jar:main" from Service Module Loader]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deploying CXF client on JBoss AS 7

    Stack Overflow | 1 year ago | ewanc
    java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/client/WebClient: javax.faces.FacesException: #{loginBean.login}: java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/client/WebClient
  6. 0

    Erro: Failed to define class org.hibernate.engine.spi.CascadeStyles$BaseCascadeStyle in Module

    com.br | 1 year ago
    br.com.caelum.vraptor.InterceptionException: exception raised, check root cause for details: java.lang.NoClassDefFoundError: org/hibernate/engine/spi/CascadeStyles$BaseCascadeStyle

  1. Andreas Häber 9 times, last 2 weeks ago
  2. Reich 8 times, last 2 weeks ago
  3. andyglick 1 times, last 1 month ago
  4. Cafecanudo 3 times, last 2 months ago
  5. pbabcsany 2 times, last 2 months ago
3 more registered users
74 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.jasper.runtime.JspWriterImpl$1 from [Module "org.jboss.as.web:main" from local module loader @e61fd1 (roots: /Users/cfang/as/modules)]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)[jboss-modules.jar:1.1.3.GA]
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)[jboss-modules.jar:1.1.3.GA]
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)[jboss-modules.jar:1.1.3.GA]
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)[jboss-modules.jar:1.1.3.GA]
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)[jboss-modules.jar:1.1.3.GA]
    5 frames
  3. GWT dev
    JspRuntimeContext.<clinit>
    1. org.apache.jasper.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java:107)[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
    2. org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:72)[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
    2 frames
  4. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)[classes.jar:1.6.0_37]
    2. java.lang.Class.forName(Class.java:247)[classes.jar:1.6.0_37]
    2 frames
  5. Glassfish Core
    StandardServer.init
    1. org.apache.catalina.core.JasperListener.lifecycleEvent(JasperListener.java:52)[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
    2. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115)[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
    3. org.apache.catalina.core.StandardServer.initialize(StandardServer.java:406)[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
    4. org.apache.catalina.core.StandardServer.init(StandardServer.java:393)[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
    4 frames
  6. JBoss Web
    WebServerService.start
    1. org.jboss.as.web.WebServerService.start(WebServerService.java:101)[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    1 frame
  7. JBoss Modular Service Container
    ServiceControllerImpl$StartTask.run
    1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[classes.jar:1.6.0_37]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[classes.jar:1.6.0_37]
    3. java.lang.Thread.run(Thread.java:680)[classes.jar:1.6.0_37]
    3 frames