bval-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/BVAL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Myers updated BVAL-155:
----------------------------
    Summary: bval-jsr pom.xml missing dependency on jaxb-api  (was: bval-jsr pom.xml missing
dependency on jaxb-impl)

> bval-jsr pom.xml missing dependency on jaxb-api
> -----------------------------------------------
>
>                 Key: BVAL-155
>                 URL: https://issues.apache.org/jira/browse/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:
> {noformat}
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> 	at org.apache.bval.jsr.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:357)
> 	at org.apache.bval.jsr.ConfigurationImpl.createBootstrapConfiguration(ConfigurationImpl.java:349)
> 	at org.apache.bval.jsr.ConfigurationImpl.prepare(ConfigurationImpl.java:340)
> 	at org.apache.bval.jsr.ConfigurationImpl.__privileged_doBuildValidatorFactory(ConfigurationImpl.java:329)
> 	at org.apache.bval.jsr.ConfigurationImpl.doBuildValidatorFactory(ConfigurationImpl.java)
> 	at org.apache.bval.jsr.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:324)
> {noformat}
> 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.bind:jaxb-api.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message