About 2,370,000 results
Open links in new tab
  1. java - What does a "Cannot find symbol" or "Cannot resolve …

    Another example of this is when you use (Java 9+) java SomeClass.java to compile and run a class. If the class depends on another class that you haven't compiled (or recompiled), you are …

  2. java - What is a NullPointerException, and how do I fix it? - Stack ...

    What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from …

  3. How to deal with "java.lang.OutOfMemoryError: Java heap space" …

    Exception in thread thread_name: java.lang.OutOfMemoryError: Java heap space The detail message Java heap space indicates object could not be allocated in the Java heap.

  4. Eclipse error ... cannot be resolved to a type - Stack Overflow

    There are two ways to solve the issue "cannot be resolved to a type ": For non maven project, add jars manually in a folder and add it in java build path. This would solve the compilation errors. …

  5. Java Error- Failed to validate the certificate - Stack Overflow

    Jul 20, 2016 · I'm trying to access remote control of my IBM blade center management module through web console but it showing Failed to validate the certificate and unable to start the …

  6. java - Unable to find valid certification path to requested target ...

    Feb 9, 2012 · I have a Java client trying to access a server with a self-signed certificate. When I try to Post to the server, I get the following error: unable to find valid certification path to …

  7. Java error: Comparison method violates its general contract

    Java error: Comparison method violates its general contract Asked 13 years, 3 months ago Modified 2 years, 9 months ago Viewed 232k times

  8. Error: class X is public should be declared in a file named X.java

    I am trying to write a program, but I'm getting this compiler error: Main.java:1: error: class WeatherArray is public, should be declared in a file named WeatherArray.java public class …

  9. java.net.UnknownHostException: Invalid hostname for server: local

    Jun 26, 2011 · What are the steps I should take to solve the error: java.net.UnknownHostException: Invalid hostname for server: local I added the new virtual …

  10. java - javac error: Class names are only accepted if annotation ...

    The error "Class names are only accepted if annotation processing is explicitly requested" can be caused by one or more of the following: Not using the .java extension for your java file when …