ArrayOutOfBoundsException on Bean creation while using Java 8 constructs

后端 未结 2 886
深忆病人
深忆病人 2021-01-31 08:54

I am getting an ArrayIndexOutOfBoundsException on service start up (Bean creation) when i use Java 8 features.

Java 8 has been set up and has been working.

2条回答
  •  星月不相逢
    2021-01-31 09:47

    Which version of Spring do you use? You need upgrade to Spring 4 to use Java 8 lambda expressions.

提交回复
热议问题