JAVA - 기존 동적 웹 프로젝트를 JPA로 구성한 후 배포할 수 없습니다.

JAVA - 기존 동적 웹 프로젝트를 JPA로 구성한 후 배포할 수 없습니다.

Glassfish 5를 사용하여 실행하는 Java 동적 웹 프로젝트가 있습니다. 이를 JPA 프로젝트(EclipseLink 사용)로 구성한 후 배포할 수 없습니다. 다음 오류가 발생합니다.

    cannot Deploy EcommerceAdmin
        deploy is failing=Error occurred during deployment: 
    Exception while loading the app : java.lang.IllegalStateException: 
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
     java.lang.RuntimeException: 
    javax.faces.FacesException: Unable to find CDI BeanManager. 
Please see server.log for more details.

내 persistence.xml은 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
    <persistence-unit name="EcommerceAdmin" transaction-type="JTA">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <jta-data-source>TIWDS</jta-data-source>
        <properties>
            <property name="eclipselink.logging.level" value="FINE"/>
            <property name="javax.persistence.schema-generation.database.action" value="create"/>
            <property name="eclipselink.logging.parameters" value="true"/>
        </properties>
    </persistence-unit>
</persistence>

관련 정보