<!-- jackson -->
<dependency>
<groupid>com.fasterxml.jackson.core</groupid>
<artifactid>jackson-core</artifactid>
<version>2.11.3</version>
</dependency>
<dependency>
<groupid>com.fasterxml.jackson.core</groupid>
<artifactid>jackson-databind</artifactid>
<version>2.11.3</version>
</dependency>
<dependency>
<groupid>com.fasterxml.jackson.core</groupid>
<artifactid>jackson-annotations</artifactid>
<version>2.11.3</version>
</dependency>
에러1 ]
cvc-complex-type.2.4.a
: Invalid content was found starting with element '{"http://maven.apache.org/POM/4.0.0":groupid}'.
One of '{
"http://maven.apache.org/POM/4.0.0":groupId,
"http://maven.apache.org/POM/4.0.0":artifactId,
"http://maven.apache.org/POM/4.0.0":version,
"http://maven.apache.org/POM/4.0.0":type,
"http://maven.apache.org/POM/4.0.0":classifier,
"http://maven.apache.org/POM/4.0.0":scope,
"http://maven.apache.org/POM/4.0.0":systemPath,
"http://maven.apache.org/POM/4.0.0":exclusions,
"http://maven.apache.org/POM/4.0.0":optional}' is expected.
에러2 ]
Multiple annotations found at this line:
- Project build error: 'dependencies.dependency.groupId' for null:null:jar is
missing.
- Project build error: 'dependencies.dependency.artifactId' for null:null:jar is
missing.
-> 원인을 모르겠다
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
여기에서
jackson-core
jackson-databind
jackson-annotations
이거 검색해서 필요한 버전으로 붙여넣었다.. 그랬더니 에러 사라짐.
'차근차근 > Spring' 카테고리의 다른 글
스프링 어노테이션.. 맨날 .. (0) | 2022.01.11 |
---|---|
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'appServlet' (0) | 2022.01.10 |
ViewResolver (0) | 2022.01.10 |
BeanNameViewResolver (0) | 2022.01.10 |
이클립스2020-06 | openjdk1.8 (2) + tiles 도전 (0) | 2022.01.07 |