java.lang.NoClassDefFoundError: org/apache/tomcat/util/digester/Rule

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

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

,
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 \
     hello_world_from_pyspark.py {file location}

Solutions on the web

via Stack Overflow by Vinod Kumar Rai
, 1 year ago
org/apache/tomcat/util/digester/Rule
via Stack Overflow by krund
, 9 months ago
org/apache/tomcat/util/digester/Rule
via Stack Overflow by Arsh Kapoor
, 6 months ago
org/apache/tomcat/util/log/SystemLogHandler
via Google Groups by Cheyenne Forbes, 5 months ago
> org/apache/lucene/queryparser/classic/ParseException
via com.br by Unknown author, 2 years ago
org/codehaus/groovy/control/CompilationFailedException
java.lang.NoClassDefFoundError: org/apache/tomcat/util/digester/Rule
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.newInstance(Class.java:412)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:269)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1578 more bugmates

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