java.lang.NoClassDefFoundError: PackageTest (wrong name: p1\PackageTest)

Coderanch | Robby Ames | 4 years ago
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

    Can't use package. Exception in thread "main" java.lang.NoClassDefFoundError.

    Coderanch | 4 years ago | Robby Ames
    java.lang.NoClassDefFoundError: PackageTest (wrong name: p1\PackageTest)
  2. 0

    java.lang.NoClassDefFoundError when estimating session size

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.NoClassDefFoundError: net/sf/jsr107cache/CacheLoader
  3. 0

    Unable to run Selenium tests (java) from the command line

    Stack Overflow | 5 years ago | Charlie Zeng
    java.lang.NoClassDefFoundError: \testsuite\PolicyFilter (wrong name: testSuite/PolicyFilter)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    osgi-jax-rs-connector ClassNotFoundException javax.servlet.Filter

    Stack Overflow | 3 years ago | Sambalmueslie
    java.lang.NoClassDefFoundError: javax/servlet/Filter
  6. 0

    Error when starting a jar created with one-jar

    Stack Overflow | 3 years ago | Clynamen
    java.lang.NoClassDefFoundError: scala/util/parsing/combinator/RegexParsers

  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

    PackageTest (wrong name: p1\PackageTest)

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