Created
October 26, 2014 23:11
-
-
Save julianpeeters/892bf83ad9defea3a160 to your computer and use it in GitHub Desktop.
Case-Class-Generator error - classloader not working after upgrading build.properties to use sbt0.13+ instead of sbt0.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at com.julianpeeters.caseclass.generator.DynamicClassLoader.loadClass(DynamicClassLoader.java:18) | |
at com.julianpeeters.caseclass.generator.DynamicCaseClass.<init>(DynamicCaseClass.scala:24) | |
at Example$delayedInit$body.apply(TEST.scala:8) | |
at scala.Function0$class.apply$mcV$sp(Function0.scala:40) | |
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) | |
at scala.App$$anonfun$main$1.apply(App.scala:71) | |
at scala.App$$anonfun$main$1.apply(App.scala:71) | |
at scala.collection.immutable.List.foreach(List.scala:318) | |
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32) | |
at scala.App$class.main(App.scala:71) | |
at Example$.main(TEST.scala:4) | |
at Example.main(TEST.scala) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sbt.Run.invokeMain(Run.scala:72) | |
at sbt.Run.run0(Run.scala:65) | |
at sbt.Run.sbt$Run$$execute$1(Run.scala:54) | |
at sbt.Run$$anonfun$run$1.apply$mcV$sp(Run.scala:58) | |
at sbt.Run$$anonfun$run$1.apply(Run.scala:58) | |
at sbt.Run$$anonfun$run$1.apply(Run.scala:58) | |
at sbt.Logger$$anon$4.apply(Logger.scala:90) | |
at sbt.TrapExit$App.run(TrapExit.scala:244) | |
at java.lang.Thread.run(Thread.java:724) | |
Caused by: java.lang.NoClassDefFoundError: scala/Product | |
at java.lang.ClassLoader.defineClass1(Native Method) | |
at java.lang.ClassLoader.defineClass(ClassLoader.java:788) | |
at java.lang.ClassLoader.defineClass(ClassLoader.java:631) | |
... 29 more | |
Caused by: java.lang.ClassNotFoundException: scala.Product | |
at sbt.classpath.ClasspathFilter.loadClass(ClassLoaders.scala:57) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) | |
... 32 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment