You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
until today scalaxb worked fine for me but (I really have no idea why) it started failing today with
[error] java.lang.NoClassDefFoundError: org/apache/log4j/Layout
[error] at sbtscalaxb.ScalaxbCompile$.$anonfun$apply$1(ScalaxbCompile.scala:22)
[error] at scala.Option.map(Option.scala:230)
[error] at sbtscalaxb.ScalaxbCompile$.compile$1(ScalaxbCompile.scala:20)
[error] at sbtscalaxb.ScalaxbCompile$.$anonfun$apply$4(ScalaxbCompile.scala:30)
[error] at sbtscalaxb.ScalaxbCompile$.$anonfun$apply$4$adapted(ScalaxbCompile.scala:29)
[error] at sbt.util.Tracked$.$anonfun$outputChangedW$1(Tracked.scala:128)
[error] at sbtscalaxb.ScalaxbCompile$.apply(ScalaxbCompile.scala:36)
[error] at sbtscalaxb.ScalaxbPlugin$.$anonfun$baseScalaxbSettings$7(ScalaxbPlugin.scala:41)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] at sbt.Execute.work(Execute.scala:291)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[error] at java.base/java.lang.Thread.run(Thread.java:832)
[error] Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Layout
[error] at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:435)
[error] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
[error] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[error] at sbtscalaxb.ScalaxbCompile$.$anonfun$apply$1(ScalaxbCompile.scala:22)
[error] at scala.Option.map(Option.scala:230)
[error] at sbtscalaxb.ScalaxbCompile$.compile$1(ScalaxbCompile.scala:20)
[error] at sbtscalaxb.ScalaxbCompile$.$anonfun$apply$4(ScalaxbCompile.scala:30)
[error] at sbtscalaxb.ScalaxbCompile$.$anonfun$apply$4$adapted(ScalaxbCompile.scala:29)
[error] at sbt.util.Tracked$.$anonfun$outputChangedW$1(Tracked.scala:128)
[error] at sbtscalaxb.ScalaxbCompile$.apply(ScalaxbCompile.scala:36)
[error] at sbtscalaxb.ScalaxbPlugin$.$anonfun$baseScalaxbSettings$7(ScalaxbPlugin.scala:41)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] at sbt.Execute.work(Execute.scala:291)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[error] at java.base/java.lang.Thread.run(Thread.java:832)
The same sbt build works on our buildsystem and for my colleagues. The exact same project worked for me before.
I already redownloaded all dependencies etc.
Additionally adding libraryDependencies += "log4j" % "log4j" % "1.2.17" to my build also did not help. But log4j should be needed anyway only for the plugin to run.
The text was updated successfully, but these errors were encountered:
hi there
until today scalaxb worked fine for me but (I really have no idea why) it started failing today with
The same sbt build works on our buildsystem and for my colleagues. The exact same project worked for me before.
I already redownloaded all dependencies etc.
Additionally adding
libraryDependencies += "log4j" % "log4j" % "1.2.17"
to my build also did not help. But log4j should be needed anyway only for the plugin to run.The text was updated successfully, but these errors were encountered: