You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/10/13 04:50:00 UTC

[jira] [Comment Edited] (OAK-6825) oak-examples/standalone test failure on Java 9

    [ https://issues.apache.org/jira/browse/OAK-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203048#comment-16203048 ] 

Chetan Mehrotra edited comment on OAK-6825 at 10/13/17 4:49 AM:
----------------------------------------------------------------

Update of Spring is bit tricky due some changes in boot jar model [1]. Would have a look at it in sometime

[1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/SpringBootSupport.java



was (Author: chetanm):
Update of Spring is bit tricky due some changes in boot jar model. Would have a look at it in sometime

> oak-examples/standalone test failure on Java 9
> ----------------------------------------------
>
>                 Key: OAK-6825
>                 URL: https://issues.apache.org/jira/browse/OAK-6825
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: examples
>            Reporter: Julian Reschke
>            Assignee: Chetan Mehrotra
>
> {noformat}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.985 sec <<< FAILURE! - in org.apache.jackrabbit.oak.standalone.RepositoryBootIT
> repositoryLogin(org.apache.jackrabbit.oak.standalone.RepositoryBootIT)  Time elapsed: 0.008 sec  <<< ERROR!
> java.lang.IllegalStateException: Failed to load ApplicationContext
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.mongo.MongoProperties org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.data.mongodb.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
> Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.mongo.MongoProperties org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.data.mongodb.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.data.mongodb.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException
> {noformat}



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