How to use lambda expression in jrxml file?

后端 未结 1 868
挽巷
挽巷 2020-12-19 17:21

I am trying to use lambda expression inside jrxml file to get values for my field.

I imported appropriate classes but it is giving me error that

相关标签:
1条回答
  • 2020-12-19 17:32

    If you're using the Eclipse JDT compiler, first make sure that you have a fairly recent version.

    You can get 4.5.1 from Maven for instance, then add the following properties to your jasperreports.properties file:

    org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
    org.eclipse.jdt.core.compiler.compliance=1.8
    org.eclipse.jdt.core.compiler.source=1.8
    
    0 讨论(0)
提交回复
热议问题