When trying to run the Example CorDapp (GitHub CorDapp) via IntelliJ, I receive the following error:
Cannot inline bytecode built with JVM target 1.8 int
If using Visual Studio Code** with Kotlin extension, go to the plugin management Crtl + Shift + x, type kotlin and click on manage (the little gear) >> Configure Extension Settings
on Kotlin >> Compiler >> Jvm:Target - type the java version. In my situation just typed 1.8
And then restart :-)
** vscode or just 'code' for linux