# Koltin , SpringBoot and Lombok in pom.xml

**URL:** https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453
**Category:** Support
**Created:** [February 5, 2019, 3:59pm UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453 "2019-02-05T15:59:27Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![marxfr](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@marxfr](https://discuss.kotlinlang.org/u/marxfr)
#### Post date: [February 5, 2019, 3:59pm UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/1 "2019-02-05T15:59:27Z")

</div>

Hi,

I’ve been trying this to get to work for quite some time now. I searched for certain solutions on google but nothing really seems to work for me.

I want to use Lombok in a pure Kotlin - Project in a POM-Based maven project with SpringBoot.

I was able to get SpringBoot and Kotlin working together but when it comes to Kotlin it seems that the Lombok-Annotations are not processed.

Is there a standard pom.xml which makes lombok and kotlin work together?

So I can use annotation like @Sl4j , @Builder etc.`?

Best Regards,

Frank

---

<div class="post-metadata">

### Author: ![fvasco](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fvasco/32/1961_2.png) [@fvasco](https://discuss.kotlinlang.org/u/fvasco)
#### Post date: [February 5, 2019, 4:29pm UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/2 "2019-02-05T16:29:58Z")

</div>

> <https://stackoverflow.com/questions/35517325/kotlin-doesnt-see-java-lombok-accessors/35530223#35530223>

Lombok works with Java only

---

<div class="post-metadata">

### Author: ![fvasco](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fvasco/32/1961_2.png) [@fvasco](https://discuss.kotlinlang.org/u/fvasco)
#### Post date: [February 5, 2019, 5:06pm UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/3 "2019-02-05T17:06:59Z")

</div>

> [@marxfr](#):
>
> So I can use annotation like @Sl4j , @Builder

Kotlin does not require Builder, and you can find some logging solution for Kotlin in this forum.

---

<div class="post-metadata">

### Author: ![marxfr](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@marxfr](https://discuss.kotlinlang.org/u/marxfr)
#### Post date: [February 6, 2019, 6:24am UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/4 "2019-02-06T06:24:20Z")

</div>

OK - maybe I can life without the Builder - Annotation.

But I was curios what I have to do to get Lombok working with Kotlin. Is there a solution I’v found some threads about this but didn’t get it to work.

What are the logging solutions available in Lombok? Can you provide me a link?

Thank you!

Best Regards

Frank

---

<div class="post-metadata">

### Author: ![fvasco](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fvasco/32/1961_2.png) [@fvasco](https://discuss.kotlinlang.org/u/fvasco)
#### Post date: [February 6, 2019, 8:07am UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/5 "2019-02-06T08:07:55Z")

</div>

> **[Kotlin Logging Without the Fuss](https://realjenius.com/2017/08/31/logging-in-kotlin/)**
>
> One of Kotlin’s strengths is that generally speaking, the code you might write in Java is generally more compact in Kotlin without losing any of the readability, functionality, or performance.
> An odd case where that doesn’t prove to be true is...

---

<div class="post-metadata">

### Author: ![marxfr](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@marxfr](https://discuss.kotlinlang.org/u/marxfr)
#### Post date: [February 6, 2019, 8:11am UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/6 "2019-02-06T08:11:58Z")

</div>

Thank you for the Link. I managed to get the Apache Kotlin Logging solution to work. That’s ok for me.

I’m new to Kotlin - after doing Java for over 20 years, so there is a lot to learn for me. But that can be fun too.

Best Regards,

Frank

---

<div class="post-metadata">

### Author: ![fvasco](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fvasco/32/1961_2.png) [@fvasco](https://discuss.kotlinlang.org/u/fvasco)
#### Post date: [February 6, 2019, 8:31am UTC](https://discuss.kotlinlang.org/t/koltin-springboot-and-lombok-in-pom-xml/11453/7 "2019-02-06T08:31:04Z")

</div>

> [@marxfr](#):
>
> I’m new to Kotlin - after doing Java for over 20 years, so there is a lot to learn for me

Fortunately not too much, but Java issues are not Kotlin issues.  
Lombok fixes Java language issues, it not works with Kotlin, Scala, Gradle and so on…
