You seem to be pulling in a bunch of jars by including them directly in the project (https://github.com/rururu/simpro-scene/tree/master/lib) rather than referring to them as Maven artifacts. uberjar doesn't know how to pull in and integrate loose jars like that (afaik). Is there some reason you're doing this? Most (maybe all) of those jars are available in Maven repos as artifacts. If you were able to move them into your lein deps, I think uberjar would do the right thing.
On Monday, June 18, 2018 at 9:17:54 AM UTC-5, ru wrote: > > My project page is https://github.com/rururu/simpro-scene. > When I start as "lein run" all is well. > But, when I start throught "java -jar > target/simpro-scene-0.1.0-SNAPSHOT-standalone.jar" I get this error message: > > Ruslans-iMac:simpro-scene ru$ java -jar > target/simpro-scene-0.1.0-SNAPSHOT-standalone.jar > > > Protege-3.5 > > A free, open-source ontology editor and framework for building intelligent > systems > > (http://protege.stanford.edu/) > > > Exception in thread "main" java.lang.NoClassDefFoundError: > edu/stanford/smi/protege/Application > > at simpro_scene.core$_main.invokeStatic(core.clj:8) > > at simpro_scene.core$_main.doInvoke(core.clj:4) > > at clojure.lang.RestFn.invoke(RestFn.java:397) > > at clojure.lang.AFn.applyToHelper(AFn.java:152) > > at clojure.lang.RestFn.applyTo(RestFn.java:132) > > at simpro_scene.core.main(Unknown Source) > > Caused by: java.lang.ClassNotFoundException: > edu.stanford.smi.protege.Application > > at java.net.URLClassLoader$1.run(URLClassLoader.java:372) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:360) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > ... 6 more > > > > Class edu.stanford.smi.protege.Application exists in > > simpro-scene-0.1.0-SNAPSHOT-standalone.jar > > > > понедельник, 18 июня 2018 г., 14:35:13 UTC+3 пользователь Alex Miller > написал: >> >> What didn’t work? > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.