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

Stack Overflow | bss36504 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Workaround NoClassDefFoundError for wrong directory structure

    Stack Overflow | 8 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

    OSGi - getting java.lang.NoClassDefFoundError: org/omg/CORBA/Object

    Stack Overflow | 3 years ago | JONATHAN LUELLEN
    java.lang.NoClassDefFoundError: org/omg/CORBA/Object
  6. 0

    Singularity not launching: no main manifest attribute

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

  1. davidvanlaatum 1 times, last 10 months ago
  2. DannyDBag 12 times, last 12 months ago
12 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