On 27 September 2016 at 21:13, Justin Compson <justincomp...@yahoo.com.invalid> wrote: > Hi, > > I'm trying to leverage the commons imaging library but I'm unable to download > the binary from any mirror or archive site.
That's because the code has not yet been released. > I have found some source files in other locations but I've been unable to get > them to work either. I don't use an IDE, I'm just using the command line in > windows. > > I've been able to successfully implement MySQL and fileuploader without issue > so I'm not sure what I'm doing wrong here. > > When I am able to compile a project with what I believe is a valid .jar file > it still can't find all of the classes: Where did you get the source? > Z:\Web Projects\Java Code>java -cp . MetadataExample2 > Error: A JNI error has occurred, please check your installation and try again > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/imaging/formats/tiff/taginfos/TagInfo > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) > at java.lang.Class.privateGetMethodRecursive(Class.java:3048) > at java.lang.Class.getMethod0(Class.java:3018) > at java.lang.Class.getMethod(Class.java:1784) > at > sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) > at > sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.imaging.formats.tiff.taginfos.TagInfo > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 7 more > > I'm convinced it is just my jar file isn't setup right and I'd rather use a > compiled version than doing it on my own as I'm by no means an expert. > > Please help! > > Thanks, > > Justin Compson > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org