Getting exception in Was server while deploying ear using maven clean install command

UI Components for JSF
Post Reply
Niteen
Posts: 6
Joined: 19 Jan 2018, 15:33

19 Feb 2018, 09:12

ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0271E: Uncaught init() exception created by servlet [Faces Servlet] in application [SACFE]: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.

When i try this command -PwsAssembly -U clean install ,it is going to get deployed successfully,then why not with normal clean install?

pom.xml(In Short)->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<versionName>${project.version}</versionName>
<spring.boot.version>1.5.4.RELEASE</spring.boot.version>
<jackson.version>2.5.3</jackson.version>
<jsf.version>2.2.7</jsf.version>
</properties>

<!-- JSF dependencies -->
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${jsf.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>${jsf.version}</version>
<scope>provided</scope>
</dependency>

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

19 Feb 2018, 11:23

So if you don't use PrimeFaces in this webapp, you don't get this error? Most likely not PrimeFaces related at all... Try stackoverflow

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests