I used to running elasticsearch 6.3.2 with elasticsearch-repository-oss 5.5.3 version(Updated the elasticsearch_version to 6.3.2 on config file ) and recently upgraded elasticsearch from 6.3.2 to 6.7.0 and want to use elasticsearch-repository-oss 6.7.0 version.
I'm using elasticsearch docker image and elasticsearch 6.7.0 using jdk 12.
With the released elasticsearch-repository-oss 6.7.0 version, get java.lang.ClassNotFoundException: javax.xml.bind.JAXBException as javax.xml.bind no longer available on jdk 12.
Add following dependency to pom.xml can avoid the error.
But after using "mvn clean package " to build the elasticsearch-reposiotry-oss, I couldn't add repository and then create snapshot. The access key and oss bucket works well before.
I used to running elasticsearch 6.3.2 with elasticsearch-repository-oss 5.5.3 version(Updated the elasticsearch_version to 6.3.2 on config file ) and recently upgraded elasticsearch from 6.3.2 to 6.7.0 and want to use elasticsearch-repository-oss 6.7.0 version.
I'm using elasticsearch docker image and elasticsearch 6.7.0 using jdk 12.
With the released elasticsearch-repository-oss 6.7.0 version, get java.lang.ClassNotFoundException: javax.xml.bind.JAXBException as javax.xml.bind no longer available on jdk 12.
Add following dependency to pom.xml can avoid the error.
But after using "mvn clean package " to build the elasticsearch-reposiotry-oss, I couldn't add repository and then create snapshot. The access key and oss bucket works well before.
Anyone has an idea why this happen?