java.lang.RuntimeException: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class :

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \ {file location}


You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

Solutions on the web

via Oracle Community by 807581, 1 year ago java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class :
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.sun.enterprise.web.WebContainer.configureSecurity(
at com.sun.enterprise.web.WebContainer.loadWebModule(
at com.sun.enterprise.web.WebContainer.loadStandaloneWebModule(
at com.sun.enterprise.web.WebContainer.loadDefaultWebModule(
at com.sun.enterprise.web.WebContainer.loadWebModules(
at com.sun.enterprise.web.WebContainer.start(
at com.sun.enterprise.web.PEWebContainer.startInstance(
at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(
at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(
at com.sun.enterprise.server.ondemand.WebServiceGroup.start(
at com.sun.enterprise.server.ondemand.ServiceGroup$
at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(
at com.sun.enterprise.server.ondemand.MainServiceGroup.start(
at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(
at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(
at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.