New to Eclipse: Issue resolving dependency on Jar files [message #1817174] |
Mon, 18 November 2019 00:56  |
Eclipse User |
|
|
|
I have the following dependencies in my code and get the error (see the topic Description for the error). Can anyone help me? I've been googling for help all day and am stuck. I really appreciate the help :)
<dependency>
<groupID>org.springframework</groupID>
<artifactId>spring-webmvc</artifactId>
<version>4.3.9RELEASE</version>
</dependency>
<dependency>
<groupID>org.springframework</groupID>
<artifactId>spring-web</artifactId>
<version>4.3.9RELEASE</version>
</dependency>
|
|
|
|
Re: New to Eclipse: Issue resolving dependency on Jar files [message #1817194 is a reply to message #1817177] |
Mon, 18 November 2019 12:11   |
Eclipse User |
|
|
|
Thanks for the response. I did have a dot missing after the release version for the spring jars. However, after fixing it, I still get 5 errors. Here they are:
1. Project build error: 'dependencies.dependency.groupId' for null:jstl:jar is missing.
2. Project build error: 'dependencies.dependency.version' for null:spring-webmvc:jar is missing.
3. cvc-complex-type.2.4.a: Invalid content was found starting with element '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.
4. Project build error: 'dependencies.dependency.groupId' for null:spring-webmvc:jar is missing.
5. cvc-complex-type.2.4.a: Invalid content was found starting with element '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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.08854 seconds