Your classpath is broken (which is a very common problem in the Java world).
Depending on how you start your application, you need to revise the argument to -cp
, your Class-Path entry in MANIFEST.MF or your disk layout.
Related Posts:
- What does “Could not find or load main class” mean?
- What does “Could not find or load main class” mean?
- What is a classpath and how do I set it?
- Java: Multiple class declarations in one file
- what is the difference between `public class` and just `class`?
- How do you make a deep copy of an object?
- What does .class mean in Java?
- How to identify object types in java
- Problems with setting the classpath in ant
- implicit super constructor Person() is undefined. Must explicitly invoke another constructor?
- org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException
- What is the difference between Integer and int in Java?
- Eclipse “Error: Could not find or load main class”
- Java Class File Editor
- Import a custom class in Java
- Java The method is undefined for this type
- java sort using anonymous class
- Import a custom class in Java
- Error: Generic Array Creation
- Java – get the current class name?
- Call a Class From another class
- .class vs .java
- how to make jni.h be found?
- What is a class constant?
- Why do some classes require main methods and others do not?
- Node cannot be resolved to a type
- How to really read text file from classpath in Java
- java.lang.ClassNotFoundException: org.postgresql.Driver, Android
- incompatible types: void cannot be converted to int [duplicate]
- package org.json does not exist when importing org.json.JSONObject
- Could not find or load main class with a Jar File
- Class Declarations for temperature program in Java
- How can I design a class named allergy?
- When do you use Java’s @Override annotation and why?
- Java Error “Exception in thread “main” java.util.InputMismatchException” On an Array program
- How to sort an ArrayList?
- getting error HTTP Status 405 – HTTP method GET is not supported by this URL but not used `get` ever?
- Editor does not contain a main type in Eclipse [duplicate]
- com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- How do I use a PriorityQueue?
- What does Java option -Xmx stand for?
- Global variables in Java
- Does the Project Lombok @Data annotation create a constructor of any kind?
- Javac is not found
- Please initialize the log4j system properly. While running web service
- Return string Input with parse.string
- Android ListView headers
- What does -XX:MaxPermSize do?
- What does the following Oracle error mean: invalid column index
- how to fix java.lang.arrayindexoutofboundsexception: 0?
- Convert the string into stringBuilder in java
- “NoClassDefFoundError: Could not initialize class” error
- Print ArrayList
- Unrecognized SSL message, plaintext connection? Exception
- What is difference between CrudRepository and JpaRepository interfaces in Spring Data JPA?
- Recursion vs. Iteration (Fibonacci sequence)
- What is difference between Errors and Exceptions?
- Static Error: This class does not have a static void main method accepting String[]
- “uses unchecked or unsafe operations”
- possible lossy conversion from long to int?
- How do I set the proxy to be used by the JVM
- keytool error Keystore was tampered with, or password was incorrect
- How to override toString() properly in Java?
- Returning null in a method whose signature says return int?
- keytool error Keystore was tampered with, or password was incorrect
- Difference between a HashMap and a dictionary ADT
- Converting A String To Hexadecimal In Java
- javax.xml.bind.UnmarshalException: unexpected element (uri:””, local:”Group”)
- Enqueue, Dequeue and ViewQueue in Java
- Java TreeMap Comparator
- What is the use of System.in.read()?
- Invalid escape sequence (valid ones are \b \t \n \f \r \” \’ \\ )
- JDK was not found on the computer for NetBeans 6.5
- In Java, how to assign the variable number=Integer.parseInt(args[0]) a value if no argument is passed?
- How are “mvn clean package” and “mvn clean install” different?
- Why are two empty ArrayLists with different generic types equal?
- java.lang.VerifyError: Inconsistent stackmap frames at branch target 421
- How to convert an Instant to a date format?
- Sending POST data in Android
- When is “java.io.IOException:Connection reset by peer” thrown?
- Java ArrayList of Doubles
- what is update-alternatives command in linux and what is the use of it?
- java: use StringBuilder to insert at the beginning
- Multiple delimiters in Scanner class of Java
- Eclipse Problems View not showing Errors anymore
- unexpected type error
- What does it mean: The serializable class does not declare a static final serialVersionUID field? [duplicate]
- “Cannot be resolved to a type” when attempting to use Scanner
- Converting a 2-3-4 tree into a red black tree
- Generic stack implementation
- Java generating non-repeating random numbers
- java eclipse red exclamation mark
- Increase heap size in Java
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- what does x– or x++ do here?
- How to specify filepath in java?
- Issue installing Netbeans in Windows 10: Java SE Development Kit (JDK) was not found on this computer
- dequeue and enqueue methods in queue implementation
- How to specify the default error page in web.xml?
- Exception is never thrown in body of corresponding try statement