I get the error below, but I can find the package in rt.jar. I can see the JDK being used from Project Structure. I'm not sure what's missing.
Error:(6, -1) Play 2 Compiler:
C:\user\projects\portal\app\com\example\security\cert\X509Cert.java:6: package sun.security.pkcs10 does not exist
import sun.security.pkcs10.*;
C:\user\projects\portal\app\com\v\security\cert\GenerateCSR.java:75: cannot find symbol