# Issues with Java Spring Boot Webservices when using with JDK 13 or 14

**URL:** <https://community.cumulocity.com/t/issues-with-java-spring-boot-webservices-when-using-with-jdk-13-or-14/7428>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [June 18, 2020, 6:26am UTC](https://community.cumulocity.com/t/issues-with-java-spring-boot-webservices-when-using-with-jdk-13-or-14/7428 "2020-06-18T06:26:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nirmal\_Dhanaraj](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Nirmal\_Dhanaraj](https://community.cumulocity.com/u/Nirmal_Dhanaraj)\
**Post date:** [June 18, 2020, 6:26am UTC](https://community.cumulocity.com/t/issues-with-java-spring-boot-webservices-when-using-with-jdk-13-or-14/7428/1 "2020-06-18T06:26:17Z")

</div>

Hello,  
I’m started palying around with java based spring boot web services example given in the document “ **iptracker-microservice** ”  
[u][Examples - Cumulocity IoT Guides](https://cumulocity.com/guides/microservice-sdk/http/#microservice-java%5B/u%5D)  
I’m using jdk 13 as per the document and I’ve tried with below different platfrom versions in my project’s pom.xml file but end up with lots of errors.  
\<c8y.version\>1004.6._\</c8y.version\>  
\<c8y.version\>1004.7._\</c8y.version\>  
\<c8y.version\>1004.8._\</c8y.version\>  
\<c8y.version\>1004.9._\</c8y.version\>

further I’ve investigated on the clients-java.pom.xml files (Actually importing them from project Pom file) under [u][http://download.cumulocity.com/maven/repository/com/nsn/cumulocity/clients-java/clients-java/[/u]](http://download.cumulocity.com/maven/repository/com/nsn/cumulocity/clients-java/clients-java/%5B/u%5D) respective reverenced for ex : clients-java-1006.5.0.pom.xml which is actually referring a static jdk 1.8 as shown as :\<java.version\>1.8\</java.version\>  
I’m thinking this conflicting with my orginal java version(jdk 13). Because of this conflict whenever I comipiling my code via Maven, I’m getting lots of exceptions.

is it a bug with the clients-java-1006.7.0.pom fie or I’m missing something here? Please advsie.

Thanks  
Nirmal Dhanaraj

---

<div class="post-metadata">

**Author:** ![Gyan\_Awasthi1](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Gyan\_Awasthi1](https://community.cumulocity.com/u/Gyan_Awasthi1)\
**Post date:** [June 19, 2020, 9:21am UTC](https://community.cumulocity.com/t/issues-with-java-spring-boot-webservices-when-using-with-jdk-13-or-14/7428/2 "2020-06-19T09:21:06Z")

</div>

Can you try first with JDK 1.8 and see if micro service runs successfully. Once it run correctly . try changing the JDK version to 13 .

I tested it with JDK 8 and it is running successfully.

Regards

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 2, 2021, 3:44pm UTC](https://community.cumulocity.com/t/issues-with-java-spring-boot-webservices-when-using-with-jdk-13-or-14/7428/3 "2021-04-02T15:44:49Z")

</div>

Closed on April 2, 2021, 3:44pm UTC


