Error: "Checksum deploy failed. No existing file with SHA1" during artifactoryPublish task

(Kalaiventhan Annadurai) #1


I have called the artifactoryPublish task for uploading my custom WAR package and it is throwing the checksum error. I have also provided the code below and could you please met me know your valuable suggestions.

apply plugin: "com.jfrog.artifactory"
apply plugin: ‘maven-publish’

artifactory {
contextUrl = '
publish {
contextUrl = '
repository {
repoKey = 'libs-release-local’
username = ‘anonymous’
ivy {
ivyLayout = '[organization]/[module]/[revision]/[type]s/ivy-[revision].xml’
artifactLayout = '[organization]/[module]/[revision]/[module]-revision.[ext]'
mavenCompatible = true

	defaults {
		publications ('maven')		
resolve {
	repository {
		repoKey = 'libs-release-local'   
		username = 'anonymous' 		      


publishing {
publications {
maven(MavenPublication) {
groupId '’
artifactId 'SelfServiceWebApp’
version '2016.064.001’
artifact file(‘build/libs/SelfServiceWebApp-2016.064.001.war’)

(Kalaiventhan Annadurai) #2

I have provided the full error below… FYI
Deploying artifact:
Deploying artifact:
Response received:

Apache Tomcat/6.0.32 - Error report

HTTP Status 404 - Checksum deploy failed. No existing file with SHA1: d921e9cc842c3b5b0341fcf84825a653b877e459

type Status report

message Checksum deploy failed. No existing file with SHA1: d921e9cc842c3b5b0341fcf84825a653b877e459

description The requested resource (Checksum deploy failed. No existing file with SHA1: d921e9cc842c3b5b0341fcf84825a653b877e459) is not available.

Apache Tomcat/6.0.32

Failed while reading the response from: PUT;;build.timestamp=1457110079596;build.number=1457110080672 HTTP/1.1
org.codehaus.jackson.JsonParseException: Unexpected character (’<’ (code 60)): expected a valid value (number, String, array, object, ‘true’, ‘false’ or ‘null’)
at [Source:; line: 1, column: 2]
at org.codehaus.jackson.JsonParser._constructError(
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(
at org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(
at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(
at org.codehaus.jackson.JsonParser.readValueAs(

(Benjamin Paz) #3

My issue is similar to yours. I am not sure how I am supposed to configure artifactoryPublish so that I can use the ‘groupId’ in ‘publications’. When I leave the ‘groupId’ undefined, then in my case the jar and POM are deployed as I expect. If I identify the groupId (similar to then it I receive the following error: “[DEBUG] [org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask] Failed checksum deploy of checksum ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ with statusCode: 409”.

If you removed the groupId in the publications section what would happen? Being a newbie I believe that I am doing something wrong. This may not get you further but maybe it will.