I’m using Maven (SpringBoot application) solution is:
- Right click project folder
- Select Maven
- Select Generate Sources And Update Folders
Then, Intellij automatically import generated sources to project.
More Related Contents:
- Java and I need help understanding what code to write out
- Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project
- Can I add jars to Maven 2 build classpath without installing them?
- Adding external library to artifact jar in IntelliJ IDEA
- Controlling Maven final name of jar artifact
- Convert Existing Eclipse Project to Maven Project
- Intellij fat one jar artifact does not generate a working output
- Maven parent pom vs modules pom
- Lambda expression vs method reference
- Removing Java 8 JDK from Mac
- Difference of Maven JAXB plugins
- JDK tools.jar as maven dependency
- How to configure JPA for testing in Maven
- Intellij Cannot resolve symbol on import
- Maven: How to change path to target directory from command line?
- IntelliJ shows method parameter hints on usage – How to disable it
- What is the best way to avoid maven-jar?
- Things possible in IntelliJ that aren’t possible in Eclipse?
- How to set JVM parameters for Junit Unit Tests?
- Maven assembly : add different version of the same artifact
- Where to add compiler options like -ea in IntelliJ IDEA?
- Spring MVC using tomcat, maven and intelliJ Error [duplicate]
- Maven dependency for Servlet 3.0 API?
- Class file has wrong version 52.0, should be 50.0
- Why does Maven have such a bad rep? [closed]
- Java FX Modular Application, Module not found (Java 11, Intellij)
- IntelliJ cannot find any declarations
- How to create a test directory in Intellij 13?
- Handling unconventional source directory for a web project in maven
- What does it mean if a variable has the name “this$0” in IntelliJ IDEA while debugging Java?