java.lang.NoClassDefFoundError: o rg/apache/log4j/spi/VectorWriter

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 means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.


If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

Solutions on the web

via Terracotta by kjayapau, 1 year ago
via Terracotta by franium, 1 year ago
via by Unknown author, 2 years ago
via Stack Overflow by ApexCoder
, 1 year ago
via Google Groups by Jenkins, 10 hours ago
via by Unknown author, 2 years ago
java.lang.ClassNotFoundException: org.apache.log4j.spi.VectorWriter
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.log4j.spi.LoggingEvent.(
at org.apache.log4j.Category.forcedLog(
at org.apache.log4j.Category.log(
at org.slf4j.impl.Log4jLoggerAdapter.error(

Users with the same issue

Once, 3 weeks ago
Once, 2 months ago
Once, 5 months ago
2 times, 11 months ago
2 times, 1 year ago

Write tip

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