You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Facing Error while deploying OCI function while importing libraries

Dears,

I am facing issue while deploying Java OCI function. I am tiring to import the below package , but it keep failed while deploy the function as it not able to find this symbols.

I tried also to import the dependences of this package under func.yaml file but still same issue.

The package :

import sun.security.x509.X500Name;

import sun.security.util.DerOutputStream;

import sun.security.pkcs.PKCS7;

Error Message:

79.94 [ERROR] (package sun.security.util is declared in module java.base, which does not export it to the unnamed module)

79.95 [ERROR] /function/src/main/java/com/example/fn/HelloFunction.java:[45,20] package sun.security.util is not visible

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!