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

    Problems migrate project from JDK 1.5 to JDK 1.7 & JBOSS 7.1

    Stack Overflow | 4 years ago | ksharma
    java.lang.ClassNotFoundException: org.josql.contrib.JoSQLJSPQueryTag from [Module "deployment.apm_ws_jboss7.war:main" from Service Module Loader]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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]
  6. 0

    Problemi deploy war liferay-portal-6.2-ce-ga2 su Jboss 7.1.1 - Forums | Liferay

    liferay.com | 2 years ago
    com.liferay.portal.spring.context.PortalContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionAdvice' while setting bean property 'methodInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionAdvice' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionManager' while setting bean property 'platformTransactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-spring.xml]: Cannot resolve reference to bean 'counterDataSourceWrapper' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceWrapper' defined in class path resource [META-INF/counter-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-spring.xml]: Invocation of init method failed; nested exception is java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver from [Module "deployment.ROOT.war:main" from Service Module Loader]

  1. MoYapro 2 times, last 3 weeks ago
  2. Andreas Häber 9 times, last 2 months ago
  3. Reich 8 times, last 2 months ago
  4. andyglick 1 times, last 3 months ago
  5. Cafecanudo 3 times, last 3 months ago
4 more registered users
75 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