webbrowserforidea icon indicating copy to clipboard operation
webbrowserforidea copied to clipboard

JCEF is not supported in running IDE

Open 2224980069 opened this issue 3 years ago • 2 comments

我下载源码使用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; } }

2224980069 avatar May 31 '21 08:05 2224980069

尝试修改build.gradle里面的idea版本号。

intellij {
    version '2020.2.3'
}

改成更高的版试试。

版本地址:https://www.jetbrains.com/idea/download/other.html

starxg avatar May 31 '21 12:05 starxg

我从插件中心下载的1.1.0版本插件,无法使用,提示JCEF is not supported in running IDE

tsuixh avatar Dec 27 '21 07:12 tsuixh