webbrowserforidea
webbrowserforidea copied to clipboard
JCEF is not supported in running IDE
我下载源码使用org.jetbrains.intellij运行,或者本地打包安装都显示JCEF is not supported in running IDE;而从插件中心安装则是正常的。原因是下面这个方法为false,请问我该如何处理????或者说你是否使用org.jetbrains.intellij开发,又是如何调试的??? private boolean isSupportedJCEF() { try { Method method = ReflectionUtil.getDeclaredMethod(Class.forName("com.intellij.ui.jcef.JBCefApp"), "isSupported"); return Objects.nonNull(method) && (boolean) method.invoke(null); } catch (Exception e) { return false; } }
尝试修改build.gradle里面的idea版本号。
intellij {
version '2020.2.3'
}
改成更高的版试试。
我从插件中心下载的1.1.0版本插件,无法使用,提示JCEF is not supported in running IDE