You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "John Myers (JIRA)" <ji...@apache.org> on 2017/09/25 23:02:00 UTC
[jira] [Created] (BVAL-155) bval-jsr pom.xml missing dependency on
jaxb-impl
John Myers created BVAL-155:
-------------------------------
Summary: bval-jsr pom.xml missing dependency on jaxb-impl
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.xind:jaxb-impl.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)