I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
Seem the answers above are OK in some cases but my case not work well somehow.
So, here what I did (that worked for me):
https://projectlombok.org/p2
, the version is 1.18.22SpringToolSuite4.ini
, this line: -javaagent:D:\\xxx\\eclipse\\sts-4.13.0.RELEASE\\plugins\\org.projectlombok.agent_1.18.22/lombok.jar
ALT+F5
(to open your maven projects), click OK and wait all projects to be builtAnd they are working.
Discussion
It might be above all solutions are working but can because of the version as we always thought, we need to use the same version as in our pom.xml but it could also work with the latest one (correct me if anyone have comment).
Point 2. maven projects, I did since beginning with other above solutions but still got error; somehow we have to make sure that.
One more remark : whenever you don't see a line of message in About Spring Tool (or About Eclipse), meant that your lombok installation not correct , may try my above solution again.
Hope this discussion helps others.
There are already many answer to this question. I'll add to the already given answer.
For Spring STS, if after following the correct way and installing and you get install successful and still it is not working. Please follow below steps.
Open.ini file. and update the javaagent value like this. Also make sure you have lombok.jar in the same folder.
-javaagent:lombok.jar
Now restart the STS and then right click on the project.
Maven -> Update Project
Check force Update of snapshot/releases.
click on OK.
It will take some time and it will resolve all lombok errors.
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @Setter
are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.