{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/137","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/137/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/137/events","html_url":"https://github.com/bytedeco/javacv/issues/137","id":71671543,"number":137,"title":"ClassNotFoundException org.bytedeco.javacpp.avutil$AVFrame","user":{"login":"noncom","id":2920144,"avatar_url":"https://avatars.githubusercontent.com/u/2920144?v=3","gravatar_id":"","url":"https://api.github.com/users/noncom","html_url":"https://github.com/noncom","followers_url":"https://api.github.com/users/noncom/followers","following_url":"https://api.github.com/users/noncom/following{/other_user}","gists_url":"https://api.github.com/users/noncom/gists{/gist_id}","starred_url":"https://api.github.com/users/noncom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noncom/subscriptions","organizations_url":"https://api.github.com/users/noncom/orgs","repos_url":"https://api.github.com/users/noncom/repos","events_url":"https://api.github.com/users/noncom/events{/privacy}","received_events_url":"https://api.github.com/users/noncom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-28T18:50:35Z","updated_at":"2015-07-17T14:30:28Z","closed_at":null,"body":"I have a project that uses JavaCV, written in Clojure. It loads and works fine in Eclipse. However, in IntelliJ IDEA I get a problem with creating a new FFMpegFrameGrabber. It won't be that sad if the same problem wasn't preventing me from using the program on a different PC, where I distribute it in the form of a JAR (the JAR works fine on my PC ok for some reason, my wild guess is of having the local Maven repo with the dependencies available here).\r\n\r\nI have read about the similar issues where it is recommended to manually add the `opencv*.jar` and `ffmpeg*.jar` to the classpath, but they are there! So, the deps are present, the project compiles and runs fine in Eclipse and on my home PC. However, on another PC or in IntelliJ IDEA it fails to create the FFMpegFrameGrabber class because it cannot find the imported classes... this is very strange :/ The `avutil` is some magical device involving native things, so maybe the problem is in this...\r\n\r\nHere is the full stack trace:\r\n\r\n    java.lang.ClassNotFoundException: org.bytedeco.javacpp.avutil$AVFrame\r\n     at java.net.URLClassLoader$1.run (URLClassLoader.java:366)\r\n        java.net.URLClassLoader$1.run (URLClassLoader.java:355)\r\n        java.security.AccessController.doPrivileged (AccessController.java:-2)\r\n        java.net.URLClassLoader.findClass (URLClassLoader.java:354)\r\n        java.lang.ClassLoader.loadClass (ClassLoader.java:425)\r\n        sun.misc.Launcher$AppClassLoader.loadClass (Launcher.java:308)\r\n        java.lang.ClassLoader.loadClass (ClassLoader.java:358)\r\n        nest.java.JavaCVPlayer.loadFile (JavaCVPlayer.java:89)\r\n        sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)\r\n        sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57)\r\n        sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)\r\n        java.lang.reflect.Method.invoke (Method.java:606)\r\n        clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93)\r\n        clojure.lang.Reflector.invokeInstanceMethod (Reflector.java:28)\r\n        user$eval1642.invoke (form-init7720092785525042840.clj:1)\r\n        clojure.lang.Compiler.eval (Compiler.java:6703)\r\n        clojure.lang.Compiler.eval (Compiler.java:6666)\r\n        clojure.core$eval.invoke (core.clj:2927)\r\n        clojure.main$repl$read_eval_print__6625$fn__6628.invoke (main.clj:239)\r\n        clojure.main$repl$read_eval_print__6625.invoke (main.clj:239)\r\n        clojure.main$repl$fn__6634.invoke (main.clj:257)\r\n        clojure.main$repl.doInvoke (main.clj:257)\r\n        clojure.lang.RestFn.invoke (RestFn.java:1523)\r\n        clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__870.invoke (interruptible_eval.clj:67)\r\n        clojure.lang.AFn.applyToHelper (AFn.java:152)\r\n        clojure.lang.AFn.applyTo (AFn.java:144)\r\n        clojure.core$apply.invoke (core.clj:624)\r\n        clojure.core$with_bindings_STAR_.doInvoke (core.clj:1862)\r\n        clojure.lang.RestFn.invoke (RestFn.java:425)\r\n        clojure.tools.nrepl.middleware.interruptible_eval$evaluate.invoke (interruptible_eval.clj:51)\r\n        clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__912$fn__915.invoke (interruptible_eval.clj:183)\r\n        clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__905.invoke (interruptible_eval.clj:152)\r\n        clojure.lang.AFn.run (AFn.java:22)\r\n        java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)\r\n        java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)\r\n        java.lang.Thread.run (Thread.java:745)"},"comment":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/comments/122294785","html_url":"https://github.com/bytedeco/javacv/issues/137#issuecomment-122294785","issue_url":"https://api.github.com/repos/bytedeco/javacv/issues/137","id":122294785,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars.githubusercontent.com/u/3328023?v=3","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T14:30:28Z","updated_at":"2015-07-17T14:30:28Z","body":"This should all be fixed with version 1.0. Could you give it a try and let me know if you encounter any errors? Thanks!"}}