problem
Use maven for the first time, configure jackson's dependency in pom.xml
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.11.0</version>
</dependency>
Idea can identify dependencies,
but click to run the project, the package can’t find exception
Analysis and solution
idea comes with a set of compiler run scripts, compile and run maven project here has been used, in order to avoid conflicts, open settings
the runner
maven compiled to run on the hook