Fix some dependency issues which caused issues when creating the swyd java service