Deploy fails on Glassfish

Description

Dependency Injection error occurs in Liquibase while deploying a Spring application to Glassfish.

Error log:
SEVERE: Exception while loading the app
SEVERE: Undeployment failed for context /spoc-web
SEVERE: Exception while loading the app : CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [DataSource] with qualifiers [@LiquibaseType] at injection point [[BackedAnnotatedField] @Inject @LiquibaseType private liquibase.integration.cdi.CDILiquibase.dataSource]

Liquibase configuration set in bean xml through Application Context. Also mentioned here: https://github.com/liquibase/liquibase/pull/25

Environment

Windows 7 x64, Postgre 9.2.4, Spring 3.2.4, Glassfish 4

Reporter

Dávid Szabó

Components

Fix versions

Affects versions

Priority

Major
Configure