java.lang.NoClassDefFoundError: org/apache/predictionio/controller/EngineFactory


Samebug tips6

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all


,
via netty.io by Unknown author

Solutions on the web2290

Solution icon of googlegroups
via Google Groups by Vaulstein, 8 months ago
org/apache/predictionio/controller/EngineFactory

Solution icon of github
via GitHub by bsphere
, 10 months ago
org/apache/spark/Logging

Solution icon of github
org/apache/spark/Logging

Solution icon of github
org/apache/spark/Logging

Solution icon of github
org/apache/spark/Logging

Solution icon of apache
via incubator-accumulo-user by Joey Echeverria, 1 year ago
org/apache/zookeeper/Watcher

Solution icon of apache
via incubator-accumulo-user by Joey Echeverria, 1 year ago
org/apache/zookeeper/Watcher

Solution icon of apache
via incubator-accumulo-user by Donald Resnik, 1 year ago
org/apache/zookeeper/Watcher

Solution icon of oraclecommunity
via Oracle Community by 807581, 1 year ago
org/apache/axis/AxisFault

Solution icon of oraclecommunity
org/apache/xmlbeans/SchemaTypeLoader

Stack trace

java.lang.NoClassDefFoundError: org/apache/predictionio/controller/EngineFactory
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at scala.reflect.runtime.ReflectionUtils$.staticSingletonInstance(ReflectionUtils.scala:60)
	at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaModuleMirror.instance(JavaMirrors.scala:473)
	at io.prediction.workflow.WorkflowUtils$.getEngine(WorkflowUtils.scala:69)
	at io.prediction.workflow.CreateWorkflow$.liftedTree1$1(CreateWorkflow.scala:193)
	at io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:192)
	at io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.predictionio.controller.EngineFactory
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 28 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Once, 1 month ago
11 times, 4 months ago
Samebug visitor profile picture
Unknown user
2 times, 5 months ago
1571 more bugmates