0

I try to select entity in IntelliJ IDEA Ultimate, but I get error:

java.lang.ClassNotFoundException: jakarta.json.bind.JsonbException PluginClassLoader(plugin=PluginDescriptor(name=Jakarta EE: Persistence (JPA), id=com.intellij.javaee.jpa, descriptorPath=plugin.xml, path=D:\Program Files\IntelliJ IDEA 2024.1.4\plugins\JPA, version=241.18034.62, package=com.intellij.jpa, isBundled=true), packagePrefix=com.intellij.jpa., state=active) (no security manager: RMI class loader disabled)

I use OpenJDK 17. I asked the POE AI, and it tells me: Add the followings to idea64.exe.vmoptions:

-Djava.rmi.server.useCodebaseOnly=true
-Djava.security.policy=d:/temp/my-security.policy

And create my-security.policy policy file with content:

grant {
    permission java.security.AllPermission;
};

It doesn't works for me. Please Help me.

IDEA desktop

idea.bat log

0

Browse other questions tagged or ask your own question.