Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Mon, 18 November 2019 00:56 Go to next message
Nancy Good is currently offline Nancy GoodFriend
Messages: 2
Registered: November 2019
Junior Member
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] Mon, 18 November 2019 04:25 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3539
Registered: July 2009
Senior Member

Are you sure those version values and groupId tag names are free of typos? It's all case sensitive.

Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Mon, 18 November 2019 04:29]

Report message to a moderator

Re: New to Eclipse: Issue resolving dependency on Jar files [message #1817194 is a reply to message #1817177] Mon, 18 November 2019 12:11 Go to previous messageGo to next message
Nancy Good is currently offline Nancy GoodFriend
Messages: 2
Registered: November 2019
Junior Member
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 15:53 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3539
Registered: July 2009
Senior Member

As I didn't well convey about case sensitivity, "groupID" != "groupId". Your file contains the former, the error is about missing the latter.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:SWT libraries missing from install(Plugins that depend on SWT have stopped working)
Next Topic:Hi everybody
Goto Forum:
  


Current Time: Sat Dec 14 23:37:37 GMT 2019

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

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

Back to the top