java.lang.NoClassDefFoundError: Test (wrong name: com/foo/bar/Test)

Stack Overflow | bss36504 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Workaround NoClassDefFoundError for wrong directory structure

    Stack Overflow | 6 months ago | bss36504
    java.lang.NoClassDefFoundError: Test (wrong name: com/foo/bar/Test)
  2. 0

    JBOSS Class loading linkage error Spring-beans

    Stack Overflow | 3 years ago | user2485135
    java.lang.NoClassDefFoundError: org/springframework/beans/factory/Aware
  3. 0

    Json-Schema-Validator in OSGI Environment

    Stack Overflow | 3 years ago | Sundar Ganesh
    java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Singularity not launching: no main manifest attribute

    GitHub | 3 years ago | jloisel
    java.lang.NoClassDefFoundError: io/dropwizard/Application
  6. 0

    bundled scala no have ScalaObject

    GitHub | 3 years ago | lahosken
    java.lang.NoClassDefFoundError: scala/ScalaObject

  1. davidvanlaatum 1 times, last 8 months ago
  2. DannyDBag 12 times, last 10 months ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Test (wrong name: com/foo/bar/Test)

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    2 frames