Tuesday, June 23, 2015

project build error: 'dependencies.dependency.groupid' for null:spring-test.jar


project build error: 'dependencies.dependency.groupid' for null:spring-test.jar

Problem :


I came across this common exception when i was manually updating maven dependencies in eclipse.

Exception I Encountered Was :


###################################################################################################################

project build error: 'dependencies.dependency.groupid' for null:spring-test.jar

###################################################################################################################

Solution :


I was manullay updating maven dependencies and gave artifact groupid instead of groupId (I is caps), be specific when you type the artifacts. Do cross check your artifacts if you have manually updated your artifacts.

Similar Exception :

     

- 'dependencies.dependency.version' is missing error, but version is managed in parent
- 'dependencies.dependency.groupid' for null:spring-test.jar
- Missing artifact but jars are in place
- org.springframework.security:spring-security-parent:jar:3.0.7.RELEASE:compile
- Could not resolve dependencies, artifacts could not be resolved



No comments:

Post a Comment