error
Code: Select all
Feb 18, 2015 9:58:47 PM javax.faces.FactoryFinder releaseFactories
SEVERE: Unable to call @PreDestroy annotated methods because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Feb 18, 2015 9:58:52 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.4 (FCS b07) for context '/ledw'
Feb 18, 2015 9:58:53 PM javax.faces.FactoryFinder$FactoryManager copyInjectionProviderFromFacesContext
SEVERE: Unable to obtain InjectionProvider from init time FacesContext. Does this container implement the Mojarra Injection SPI?
Feb 18, 2015 9:58:53 PM javax.faces.FactoryFinder getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.context.PrimeFacesContextFactory@73cac838 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Feb 18, 2015 9:58:53 PM javax.faces.FactoryFinder getImplGivenPreviousImpl
SEVERE: Unable to inject com.sun.faces.context.InjectionFacesContextFactory@6cb287c6 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Feb 18, 2015 9:58:53 PM javax.faces.FactoryFinder getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.context.PrimePartialViewContextFactory@5f73b90 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Feb 18, 2015 9:58:53 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces 5.1
Note I've been trying different decency so some of these probably aren't needed.
pom.xml
Code: Select all
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>mil.army.logsa</groupId>
<artifactId>ledw</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>ledw</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>5.1</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>7.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<jsp-descriptor>
<keepgenerated>true</keepgenerated>
<debug>true</debug>
</jsp-descriptor>
<context-root>/ledw</context-root>
<library-ref>
<library-name>jsf</library-name>
<specification-version>2.0</specification-version>
<implementation-version>1.0.0.0_2-0-2</implementation-version>
<exact-match>false</exact-match>
</library-ref>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
Thanks
Shawn