bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Myers (JIRA)" <>
Subject [jira] [Created] (BVAL-155) bval-jsr pom.xml missing dependency on jaxb-impl
Date Mon, 25 Sep 2017 23:02:00 GMT
John Myers created BVAL-155:

             Summary: bval-jsr pom.xml missing dependency on jaxb-impl
                 Key: BVAL-155
             Project: BVal
          Issue Type: Bug
          Components: build
    Affects Versions: 1.1.2
            Reporter: John Myers
            Priority: Minor

Attempting to initialize bval-jsr 1.1.2 in a Java 9 maven build fails with:

java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

	at org.apache.bval.jsr.ConfigurationImpl.parseValidationXml(
	at org.apache.bval.jsr.ConfigurationImpl.createBootstrapConfiguration(
	at org.apache.bval.jsr.ConfigurationImpl.prepare(
	at org.apache.bval.jsr.ConfigurationImpl.__privileged_doBuildValidatorFactory(
	at org.apache.bval.jsr.ConfigurationImpl.doBuildValidatorFactory(
	at org.apache.bval.jsr.ConfigurationImpl.buildValidatorFactory(

This appears to be because the pom.xml for bval-jsr 1.1.2, unlike 1.1.1, does not declare
a dependency on com.sun.xml.xind:jaxb-impl.

This message was sent by Atlassian JIRA

View raw message