Unable to access admin-console after removing JSF libraries from JBoss EAP 5

Solution Unverified - Updated -

Issue

  • We followed the instructions in this article to remove JSF 1.2 jars from JBoss EAP5 to integrate JSF 2.0. However, after removing JSF 1.2, the admin-console fails to load and gives a NoClassDefFoundError message on the page.
  • Exception stack trace from the error is provided below:
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/admin-console]] (http-127.0.0.1-8080-1) Exception sending request initialized lifecycle event to listener instance of class org.jboss.on.embedded.LazyStartupListener
java.lang.RuntimeException: Could not create Component: DefaultPageControlSettingsUIBean
        at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1198)
        at org.jboss.seam.init.Initialization.installComponents(Initialization.java:1114)
...
...    
Caused by: java.lang.NoClassDefFoundError: [Ljavax/faces/model/SelectItem;
        at java.lang.Class.getDeclaredMethods0(Native Method)
...

Environment

JBoss Enterprise Application Platform (EAP) 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.