{"action":"created","issue":{"url":"https://api.github.com/repos/sarxos/webcam-capture/issues/281","labels_url":"https://api.github.com/repos/sarxos/webcam-capture/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/sarxos/webcam-capture/issues/281/comments","events_url":"https://api.github.com/repos/sarxos/webcam-capture/issues/281/events","html_url":"https://github.com/sarxos/webcam-capture/issues/281","id":48053934,"number":281,"title":"RuntimeException: java.lang.NoclassDefFounderror: com/github/sarxos/webcam/WebcamPanel","user":{"login":"Olafimihan","id":9592726,"avatar_url":"https://avatars.githubusercontent.com/u/9592726?v=3","gravatar_id":"","url":"https://api.github.com/users/Olafimihan","html_url":"https://github.com/Olafimihan","followers_url":"https://api.github.com/users/Olafimihan/followers","following_url":"https://api.github.com/users/Olafimihan/following{/other_user}","gists_url":"https://api.github.com/users/Olafimihan/gists{/gist_id}","starred_url":"https://api.github.com/users/Olafimihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olafimihan/subscriptions","organizations_url":"https://api.github.com/users/Olafimihan/orgs","repos_url":"https://api.github.com/users/Olafimihan/repos","events_url":"https://api.github.com/users/Olafimihan/events{/privacy}","received_events_url":"https://api.github.com/users/Olafimihan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sarxos/webcam-capture/labels/invalid","name":"invalid","color":"e6e6e6"},{"url":"https://api.github.com/repos/sarxos/webcam-capture/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-11-07T06:47:35Z","updated_at":"2015-04-20T08:53:41Z","closed_at":"2014-11-07T11:07:18Z","body":"Thanks for the good work! I am a java newbie. I want to use the API to display webcam image on a jsp page using java applet, before snapping it.\r\n\r\nOnce it tries to display the applet picture, it throws an exception RuntimeException: \r\njava.lang.NoclassDefFounderror: com/github/sarxos/webcam/WebcamPanel.\r\n\r\nPlease, any idea what I should do will be appreciated,.\r\n\r\nOlafimihan"},"comment":{"url":"https://api.github.com/repos/sarxos/webcam-capture/issues/comments/94396973","html_url":"https://github.com/sarxos/webcam-capture/issues/281#issuecomment-94396973","issue_url":"https://api.github.com/repos/sarxos/webcam-capture/issues/281","id":94396973,"user":{"login":"sarxos","id":472658,"avatar_url":"https://avatars.githubusercontent.com/u/472658?v=3","gravatar_id":"","url":"https://api.github.com/users/sarxos","html_url":"https://github.com/sarxos","followers_url":"https://api.github.com/users/sarxos/followers","following_url":"https://api.github.com/users/sarxos/following{/other_user}","gists_url":"https://api.github.com/users/sarxos/gists{/gist_id}","starred_url":"https://api.github.com/users/sarxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarxos/subscriptions","organizations_url":"https://api.github.com/users/sarxos/orgs","repos_url":"https://api.github.com/users/sarxos/repos","events_url":"https://api.github.com/users/sarxos/events{/privacy}","received_events_url":"https://api.github.com/users/sarxos/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T08:53:41Z","updated_at":"2015-04-20T08:53:41Z","body":"@afzaalhussain50,\r\n\r\nIMHO the best option for you will be to pack all these JARs together (webcamStream.jar,webcam-capture-0.3.10.jar,bridj-0.6.2.jar,slf4j-api-1.6.4.jar) in a single archive (aka \"shaded\" JAR).\r\n\r\nHere is a good tutorial of how to shade your code (webcamStream.jar) with the required dependencies (webcam-capture-0.3.10.jar,bridj-0.6.2.jar,slf4j-api-1.6.4.jar):\r\n\r\nhttp://www.mkyong.com/maven/create-a-fat-jar-file-maven-shade-plugin"}}