Jira Rest 'jira-rest-java-client-core' not downloading 'sal-api' dependency

Yash Rathor May 27, 2022

I am using 
`jira-rest-java-client-core` in my Java Project version: 5.2.0


This package transitive downloads sal-api as a part of its dependency.

This was working a few days back but when I checked today its not working as expected.

when downloading the dependency I am only getting sal-api-4.7.0.atlassian-plugin.

here is the content of the file 

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
html, body, #partner, iframe {
height:100%;
width:100%;
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
body {
overflow:hidden;
}
</style>
<meta content="NOW" name="expires">
<meta content="index, follow, all" name="GOOGLEBOT">
<meta content="index, follow, all" name="robots">
<!-- Following Meta-Tag fixes scaling-issues on mobile devices -->
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">
</head>
<body>
<div id="partner"></div>
<script type="text/javascript">
document.write(
'<script type="text/javascript" language="JavaScript"'
+ 'src="//sedoparking.com/frmpark/'
+ window.location.host + '/'
+ 'tierraexpired'
+ '/park.js">'
+ '<\/script>'
);
</script>
</body>
</html>


When running the code and trying to create a JiraRestClient I am getting the below error


java.lang.NoClassDefFoundError: com/atlassian/sal/api/ApplicationProperties not found

'jira-rest-java-client-core'

0 answers

Suggest an answer

Log in or Sign up to answer