Skip to main content



      Home
Home » Newcomers » Newcomers » New to Eclipse: Issue resolving dependency on Jar files(Project build error: 'dependencies.dependency.groupId' for null:spring-web:jar is missing.)
New to Eclipse: Issue resolving dependency on Jar files [message #1817174] Sun, 17 November 2019 19:56 Go to next message
Eclipse UserFriend
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 #1817177 is a reply to message #1817174] Sun, 17 November 2019 23:25 Go to previous messageGo to next message
Eclipse UserFriend
Are you sure those version values and groupId tag names are free of typos? It's all case sensitive.

[Updated on: Sun, 17 November 2019 23:29] by Moderator

Re: New to Eclipse: Issue resolving dependency on Jar files [message #1817194 is a reply to message #1817177] Mon, 18 November 2019 07:11 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: New to Eclipse: Issue resolving dependency on Jar files [message #1817217 is a reply to message #1817194] Mon, 18 November 2019 10:53 Go to previous message
Eclipse UserFriend
As I didn't well convey about case sensitivity, "groupID" != "groupId". Your file contains the former, the error is about missing the latter.
Previous Topic:Grey screen of death
Next Topic:GCC lpthread compilation woes
Goto Forum:
  


Current Time: Mon Mar 24 13:56:27 EDT 2025

Powered by FUDForum. Page generated in 0.09817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top