How to see the classes generated by lombok in maven spring boot application

happytohelp

I am trying to use lombok in my application which is based on spring boot and maven configuration.

I have added the dependency:

<dependencies>
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>1.18.16</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

in my pom.xml. Also as I am using STS, I have installed Lombok into my sts by running the jar. I am able to use Lombok annotations and use the getters, setters, etc. but I am not able to see my generated classes/methods in target/generated-sources folder.

Is there a particular reason, why I am not able to see those generated classes and how STS or maven is able to use these generated classes/methods?

Can any one help me understand? And if possible how to view those generated classes/methods?

Note: My source code folder is still src/main/java only.

dope

Your project compiled class files are located in the target/classes folder. This folder is not visible in the default view i.e., Package Explorer view. You need to enable the Navigator (now deprecated) view from Window -> Show View to see the contents of the target folder. Once done, your compiled classes will be visible in the target/classes folder according to your project package structure.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How is the spring boot application affected by the maven dependencies?

Spring Boot project (Maven) with AXL - NetBeans cannot find generated AXL packages/classes

Script generated via appassembler-maven-plugin is not able to find main class in Spring Boot application

spring boot application as maven dependency

Spring Boot Application - Maven Issue

Lombok doesn't work with spring-boot-maven-plugin

How to fix 'Error Creating Bean' (BeanCreationException) in Maven Spring Boot Application?

Disable spring boot auditing in a jhipster generated application

How to run a Spring Boot maven project in VSCode and how to config the base url of a spring boot web application

Spring Boot logging with Lombok

IntelliJ IDEA cannot see Lombok generated code

How to supply runtime generated groovy classes to Spring Boot context configuration process

How to see the logs if we have deployed our Spring Boot Application in Google Cloud Platform?

How do I see if transaction management is enabled in my spring boot application?

Maven verify ClassNotFoundException for class of Spring Boot application

Multi-Module Maven Application With Spring Boot

Can not run spring boot application using maven

Spring boot test multimodule maven application

Error during Maven Build of a Spring Boot Application

How to create/find application jar to deploy your spring boot maven application using embedded tomcat?

Lombok Maven javadoc:aggregate report with generated sources

How to see the schema sql (DDL) in spring boot?

How to prevent lombok from being packaged into Spring Boot jar?

How to access Builder() of a JPA entity using Lombok with Spring Boot?

Maven Spring lombok @AllArgsConstructor is not working

spring boot RestController not work with lombok

Spring Boot application with WebSecurity doesn't see css

spring-boot-devtools: how to exclude java classes from restarting the application?

How to write the unit test case for the Classes which are annotated with @Configuration in Spring Boot application