0

I'm developing a springmvc application when I try to open my javascript file I'am getting this error:

java.lang.NoSuchMethodError: jdk.nashorn.internal.runtime.ECMA

Exception.getEcmaError()Ljava/lang/Object;

The screenshot can be seen here

Blackcoat77
  • 1,574
  • 1
  • 21
  • 31

1 Answers1

0

Without additional information, it is difficult to identify directly your issue but I suspect that your error is due to one of the following causes:

  • One of the jar files that you are embedding is not well included at building/compilation
  • You are using an unappropriated version of one of the jar files you are including in your project.
  • One of your classes is not well updated by your build process

Have a look at the following link for more information, it is well explained:

how-do-i-fix-a-nosuchmethoderror

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Allan
  • 12,117
  • 3
  • 27
  • 51