You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/08/01 20:37:39 UTC

[jira] [Commented] (MYFACES-3909) java.lang.ClassNotFoundException: org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase

    [ https://issues.apache.org/jira/browse/MYFACES-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082704#comment-14082704 ] 

Leonardo Uribe commented on MYFACES-3909:
-----------------------------------------

Classloading issues are not related to JSF, in this case it is because the application server. Read Jboss 5 manual, they provide instructions about how to resolve the problem, or just type a few words on google about this web config param: org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL. I'll close this issue as invalid.

> java.lang.ClassNotFoundException: org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3909
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3909
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 2.1.15
>         Environment: Windows 7, Jdk 1.6
>            Reporter: AVIJIT CHAKRABORTY
>            Priority: Blocker
>
> I am getting the below exception stack trace while deploying an webapp in Jboss 5.0.0.GA. 
> SEVERE: Class org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase not found
> java.lang.ClassNotFoundException: org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase
> at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:385)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.apache.myfaces.shared.util.ClassUtils.classForName(ClassUtils.java:199)
> 	at org.apache.myfaces.shared.util.ClassUtils.simpleClassForName(ClassUtils.java:218)
> 	at org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:342)
> 	at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:908)
> 	at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:420)
> 	at org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:370)
> 	at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
> 	at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:143)
> 	at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
> 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
> 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
> 	at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
> 	at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
> 	at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl
> 17:03:17,677 ERROR [STDERR] .invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
> 	at $Proxy36.start(Unknown Source)
> 	at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
> 	at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
> 	at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
> 	at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
> 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> 	at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
> 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> 	at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
> 	at org.jboss.system.ServiceController.start(ServiceController.java:460)
> 	at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
> 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
> 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
> 	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
> 	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
> 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
> 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
> 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
> 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
> 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
> 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
> 	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
> 	at org.jboss.Main.boot(Main.java:209)
> 	at org.jboss.Main$1.run(Main.java:547)
> 	at java.lang.Thread.run(Unknown Source)
> 17:03:17,679 ERROR [STDERR] Jul 25, 2014 5:03:17 PM org.apache.myfaces.config.FacesConfigurator configureRenderKits
> My Webapp is having the myfaces-api-2.1.15.jar and myfaces-impl-2.1.15.jar. I do not have StartupServletContextListener configured in web.xml file.
> Please check the issue urgently. This seems to be a bug. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)