Snippets tagged “eclipse”
13 snippets use this tag.
- Create a Maven project in Eclipse complains "Could not resolve archetype"Java
There could be several reasons why you are getting the error "Could not resolve archetype" when trying to create a Maven project in Eclipse.
- Eclipse - no Java (JRE) / (JDK) ... no virtual machineJava
If you see an error message in Eclipse saying "no Java (JRE) / (JDK) ... no virtual machine", it means that Eclipse is unable to find a valid Java installation on your system.
- Eclipse "Error: Could not find or load main class"Java
If you are seeing an error message that says "Error: Could not find or load main class", it is likely that there is a problem with the classpath for your project.
- Eclipse comment/uncomment shortcut?Java
In Eclipse, you can use the following keyboard shortcuts to comment and uncomment lines of code:
- Eclipse error ... cannot be resolved to a typeJava
If you are seeing an error in Eclipse that says "cannot be resolved to a type," it usually means that Eclipse is unable to find the class or interface that you are trying to use in your code.
- Eclipse error: "The import XXX cannot be resolved"Java
If you get the error "The import XXX cannot be resolved" in Eclipse, it means that the class or package that you are trying to import cannot be found in the classpath of your project.
- Eclipse java debugging: source not foundJava
If you are trying to debug a Java application in Eclipse and you see the error "Source not found", it means that the source code for the class you are trying to debug is not available in the current project or the project build path.
- Eclipse reported "Failed to load JNI shared library"Java
If you see the error "Failed to load JNI shared library" when starting Eclipse, it means that the Java Native Interface (JNI) library required by Eclipse cannot be found or loaded.
- eclipse won't start - no java virtual machine was foundJava
There are a few possible reasons why Eclipse might not be able to find a Java Virtual Machine (JVM).
- Eclipse/Java code completion not workingJava
If code completion is not working in Eclipse, there are a few possible reasons:
- How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?Java
To import the javax.servlet or jakarta.servlet API in an Eclipse project, follow these steps:
- How to change font size in Eclipse for Java text editors?Java
To change the font size in the Java text editor in Eclipse, follow these steps:
- How to import a jar in Eclipse?Java
To import a JAR file into Eclipse, follow these steps: