{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/109","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/109/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/109/events","html_url":"https://github.com/bytedeco/javacv/issues/109","id":65069440,"number":109,"title":"Getting \"java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil\" although platform dependencies are included","user":{"login":"yngvesl","id":778749,"avatar_url":"https://avatars.githubusercontent.com/u/778749?v=3","gravatar_id":"","url":"https://api.github.com/users/yngvesl","html_url":"https://github.com/yngvesl","followers_url":"https://api.github.com/users/yngvesl/followers","following_url":"https://api.github.com/users/yngvesl/following{/other_user}","gists_url":"https://api.github.com/users/yngvesl/gists{/gist_id}","starred_url":"https://api.github.com/users/yngvesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yngvesl/subscriptions","organizations_url":"https://api.github.com/users/yngvesl/orgs","repos_url":"https://api.github.com/users/yngvesl/repos","events_url":"https://api.github.com/users/yngvesl/events{/privacy}","received_events_url":"https://api.github.com/users/yngvesl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bytedeco/javacv/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/bytedeco/javacv/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-29T15:09:26Z","updated_at":"2015-07-14T02:43:09Z","closed_at":"2015-04-07T11:09:42Z","body":"I've tried to run a simple application with an FFMmpegFrameGrabber.\r\nI've included javacv 0.10 in my pom and ran the\r\n`$ mvn package exec:java -Dplatform.dependencies -Dexec.mainClass=<fqdn to my class>`\r\n\r\nHowever, I get this error:\r\njava.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:266)\r\n\tat org.bytedeco.javacpp.Loader.load(Loader.java:385)\r\n\tat org.bytedeco.javacpp.Loader.load(Loader.java:353)\r\n\tat org.bytedeco.javacpp.avformat$AVFormatContext.<clinit>(avformat.java:2249)\r\n\tat org.bytedeco.javacv.FFmpegFrameGrabber.startUnsafe(FFmpegFrameGrabber.java:346)\r\n\tat org.bytedeco.javacv.FFmpegFrameGrabber.start(FFmpegFrameGrabber.java:340)\r\n\r\nI also tried to build an uber jar and checked that avutil.class actually resided in the jar. Same error.\r\nI run Debian Squeeze kernel 3.2.0.\r\n\r\nAny idea, anyone?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/comments/121115791","html_url":"https://github.com/bytedeco/javacv/issues/109#issuecomment-121115791","issue_url":"https://api.github.com/repos/bytedeco/javacv/issues/109","id":121115791,"user":{"login":"MarcoVCiotola","id":10465454,"avatar_url":"https://avatars.githubusercontent.com/u/10465454?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoVCiotola","html_url":"https://github.com/MarcoVCiotola","followers_url":"https://api.github.com/users/MarcoVCiotola/followers","following_url":"https://api.github.com/users/MarcoVCiotola/following{/other_user}","gists_url":"https://api.github.com/users/MarcoVCiotola/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoVCiotola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoVCiotola/subscriptions","organizations_url":"https://api.github.com/users/MarcoVCiotola/orgs","repos_url":"https://api.github.com/users/MarcoVCiotola/repos","events_url":"https://api.github.com/users/MarcoVCiotola/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoVCiotola/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T02:43:09Z","updated_at":"2015-07-14T02:43:09Z","body":"@ideastorm or @saudet, I'm getting the same error, could any of you guys please explain me how to add the artifacts manually? (I'm using windows, maven and IntelliJ). Thanks a lot in advance!. "}}