Блог пользователя limed

Автор limed, история, 7 лет назад, По-английски

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 :(

  • Проголосовать: нравится
  • +16
  • Проголосовать: не нравится

»
7 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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.

»
7 лет назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится