{"action":"closed","issue":{"url":"https://api.github.com/repos/marcuslonnberg/sbt-docker/issues/21","labels_url":"https://api.github.com/repos/marcuslonnberg/sbt-docker/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/marcuslonnberg/sbt-docker/issues/21/comments","events_url":"https://api.github.com/repos/marcuslonnberg/sbt-docker/issues/21/events","html_url":"https://github.com/marcuslonnberg/sbt-docker/issues/21","id":57098462,"number":21,"title":"classpath issue with dockerSettingsAutoPackage ?","user":{"login":"joune","id":895930,"avatar_url":"https://avatars.githubusercontent.com/u/895930?v=3","gravatar_id":"","url":"https://api.github.com/users/joune","html_url":"https://github.com/joune","followers_url":"https://api.github.com/users/joune/followers","following_url":"https://api.github.com/users/joune/following{/other_user}","gists_url":"https://api.github.com/users/joune/gists{/gist_id}","starred_url":"https://api.github.com/users/joune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joune/subscriptions","organizations_url":"https://api.github.com/users/joune/orgs","repos_url":"https://api.github.com/users/joune/repos","events_url":"https://api.github.com/users/joune/events{/privacy}","received_events_url":"https://api.github.com/users/joune/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T22:15:19Z","updated_at":"2015-03-10T18:17:25Z","closed_at":"2015-03-10T18:17:25Z","body":"Hi,\r\n\r\nFirst, thumbs up! I've just discovered sbt-docker and I love the idea and simplicity! \r\n\r\nNow I've tried packaging a little spray application with \r\n\r\n        dockerSettingsAutoPackage(\"dockerfile/java\", Seq(8080))\r\n\r\nIt creates the image without error, but when I try to run it, I get a NoClassDefFoundError. \r\nAnd \"docker inspect\" shows this:\r\n\r\n        \"Entrypoint\": [\r\n            \"java\",\r\n            \"-cp\",            \"/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/libs:/app/server_2.11-0.1.jar\",\r\n            \"ap.test.Server\"\r\n        ],\r\n\r\nIt looks like the artifact names are missing from the classpath.\r\n\r\n\r\nNote: I've also tried copying the sample from package-spray, but sbt complains on:\r\n        \r\n        error: not found: value docker\r\n        docker <<= docker.dependsOn(Keys.`package`.in(Compile, packageBin))\r\n\r\n\r\nthanks for the support .. and sorry if i'm doing something obviously wrong!"}}