This should work as is, and has nothing to do with IntelliJ idea. But I would:
- make sure the
@Data
annotation is the lombok one - remove the repository definition (maven central is fine)
- use a recent lombok version (1.16.0 as of this writing)
- rebuild (
mvn clean package
)
I think the lombok jar is not found by maven in your case or that you might have another @Data
.
Related Posts:
- unused import statement for used ones in IntelliJ IDEA
- JAVA_HOME should point to a JDK not a JRE
- Eclipse/Maven error: “No compiler is provided in this environment”
- How is “mvn clean install” different from “mvn install”?
- Does the Project Lombok @Data annotation create a constructor of any kind?
- Error: Could not find or load main class in intelliJ IDE
- Why Maven project is tied to J2SE-1.5 by default?
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- Unable to create requested service [org.hibernate .engine.jdbc.env.spi.JdbcEnvironment]-MySQL
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- Maven: Failed to read artifact descriptor
- Error: JavaFX runtime components are missing, and are required to run this application with JDK 11
- What exactly is a Maven Snapshot and why do we need it?
- Cannot change version of project facet Dynamic Web Module to 3.0?
- Spring Maven clean error – The requested profile “pom.xml” could not be activated because it does not exist
- Maven error : Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
- How to fix “unsupported class file major version 60” in IntelliJ?
- Error: JAVA_HOME is not defined correctly executing maven
- intellij incorrectly saying no beans of type found for autowired repository
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- IDEA: javac: source release 1.7 requires target release 1.7
- IntelliJ – Can’t start – “JAVA_HOME does not point to a valid JVM installation”
- Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project
- How are “mvn clean package” and “mvn clean install” different?
- java.lang.VerifyError: Inconsistent stackmap frames at branch target 421
- How to resolve Unable to load authentication plugin ‘caching_sha2_password’ issue
- “The import org.springframework cannot be resolved.”
- Error: Module not specified (IntelliJ IDEA)
- Invalid signature file digest for Manifest main attributes exception while trying to run jar file
- “Source folder is not a Java project” error in eclipse
- Configure active profile in SpringBoot via Maven
- Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven
- “Cannot start compilation: the output path is not specified for module…”
- intellij idea – Error: java: invalid source release 1.9
- String index out of bounds exception java
- Maven dependency update on commandline
- Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2)
- How do I enable index downloads in Eclipse for Maven dependency search?
- Class JavaLaunchHelper is implemented in two places
- IntelliJ IDEA “The selected directory is not a valid home for JDK”
- “Char cannot be dereferenced” error
- Difference between Inheritance and Composition
- What is the reason behind “non-static method cannot be referenced from a static context”? [duplicate]
- Java string to date conversion
- Round a double to 2 decimal places [duplicate]
- Int division: Why is the result of 1/3 == 0?
- Given final block not properly padded
- What is Parse/parsing?
- What is IllegalStateException?
- Long vs Integer, long vs int, what to use and when?
- The @ symbol in java
- Getting Keyboard Input
- catDog string problem at Codingbat.com
- What is the difference between String.subString() and String.subSequence()
- Why am I still getting a cannot find Java SE Runtime Environment?
- IntelliJ: Error:java: error: release version 5 not supported
- error: unreported exception FileNotFoundException; must be caught or declared to be thrown
- implicit super constructor Person() is undefined. Must explicitly invoke another constructor?
- java.net.SocketTimeoutException: Read timed out under Tomcat
- How to resolve Error listenerStart when deploying web-app in Tomcat 5.5?
- package does not exist error!
- Required: Variable Found: Value
- Missing method body, or declare abstract in Java
- java code is showing error. ( ‘;’,expected) [closed]
- How can I edit a .jar file?
- java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver Exception occurring. Why?
- How to center the text in a JLabel?
- What is the use of a private static variable in Java?
- Call a Class From another class
- Installing WindowBuilder on Eclipse Neon
- Java: how to initialize String[]?
- Regular Expressions on Punctuation
- How to make a countdown timer in Java
- (Java) Tic-Tac-Toe game using 2 dimensional Array
- How can I remove a substring from a given String?
- Java get String CompareTo as a comparator object
- What does super.paintComponent(g) do?
- Union or intersection of Java Sets
- Get an OutputStream into a String
- Difference between string object and string literal
- Best way to create enum of strings?
- Why use getters and setters/accessors?
- How to use a Do-while loop that continuously prompts a user?
- Python-like list comprehension in Java
- Can an int be null in Java?
- What’s the difference between HashSet and Set?
- Netbeans – Error: Could not find or load main class
- Eclipse IDE – Error: Build path specifies execution environment Java SE 1.7
- Why int[] a = new int[1] instead of just int a?
- ArithmeticException: “Non-terminating decimal expansion; no exact representable decimal result”
- When to use a Map instead of a List in Java?
- How do I replace a character in a string in Java?
- What’s so special about 0x7f?
- Append a single character to a string or char array in java?
- Preventing a Java class from being instantiated and inherited
- Collision Detection between two images in Java
- What does .pack() do?
- String is immutable. What exactly is the meaning?
- No Main class found in NetBeans