java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: com/sun/faces/spi/AnnotationScanner


Solutions on the web

Solution icon of oraclecommunity
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: com/sun/faces/spi/AnnotationScanner

Solution icon of oraclecommunity
via Oracle Community by josephswager, 1 year ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: javax.servlet.UnavailableException: org.jboss.system.ServiceMBeanSupport.nextNotificationSequenceNumber()J

Solution icon of web
via coderanch.com by Unknown author, 1 year ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: javax.servlet.UnavailableException: org.jboss.system.ServiceMBeanSupport.nextNotificationSequenceNumber()J

Solution icon of coderanch
via Coderanch by Joseph Swager, 10 months ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: javax.servlet.UnavailableException: org.jboss.system.ServiceMBeanSupport.nextNotificationSequenceNumber()J

Solution icon of stackoverflow
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains

Solution icon of web
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: javax.servlet.ServletException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11

Solution icon of web
via nabble.com by Unknown author, 1 year ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:resources'.

Solution icon of coderanch
via Coderanch by sam White, 9 months ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxws] Offending resource: ServletContext resource [/WEB-INF/beans.xml]

Solution icon of web
via coderanch.com by Unknown author, 11 months ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxws] Offending resource: ServletContext resource [/WEB-INF/beans.xml]

Solution icon of web
via coderanch.com by Unknown author, 1 year ago
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxws] Offending resource: ServletContext resource [/WEB-INF/beans.xml]

Stack trace

java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: com/sun/faces/spi/AnnotationScanner
	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:130)
	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:287)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:359)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1080)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1264)
	at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:146)
	at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:578)
	at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:463)
	at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:395)
	at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:386)
	at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:213)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
63 more bugmates