Error in Custom java action : java.util.stream.Collectors cannot be resolved to a type

0
hi Community, the following error is coming in my custom java action file.I could not find solution to it as of now.I tried clean the project and building it     java.util.stream.Collectors cannot be resolved to a type   After running the mendix application  getting the following error:   Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:83)  
asked
2 answers
2

You are getting the error in Mendix-generated Java files which makes me think you don’t have Eclipse pointing to the same JDK as Mendix Studio Pro. You should be using a JDK 11, and not the JDK shipped with Eclipse.

There are some more details on the following link in section 2.
https://docs.mendix.com/refguide/using-eclipse/#2-setting-up-eclipse

I hope this fixes the problem.

answered
0

below are the problems shown in eclipse:-

 

answered