limed's blog

By limed, history, 6 weeks ago, In English,

Few weeks ago, during round #429, I've run into a Runtime Error when submitting any valid Scala solution. Today I've tried to submit some solutions, and had the same issue again (30041665). Also, I found that more Scala users had the same runtime issue in the last few rounds (eg., 29977952, 29706237 and more).

The error message is java.lang.NoClassDefFoundError: scala/App$class. Probably this could be caused by Scala standard library missing from the classpath.

I (and, I believe, other Scala users) would appreciate if this could be fixed. Until then, unfortunately, Scala is not usable on Codeforces :(

 
 
 
 
  • Vote: I like it  
  • +16
  • Vote: I do not like it  

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

The original issue seems to be solved, but I still keep getting weird Runtime Errors with Scala submissions (example: 30301460).

Now the error message is java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: scala/runtime/java8/JFunction0$mcI$sp.

I think this could be caused by mixing different versions of Scala compiler (2.12) and runtime scala-library.jar (2.11). MikeMirzayanov could you please have a look at this? Thank you in advance.

»
5 weeks ago, # |
  Vote: I like it +8 Vote: I do not like it