124,679 questions
2
votes
0
answers
76
views
m2e Workspace Resolution Broken After Upgrading from Eclipse 2021 to 2025
I’m upgrading an old Eclipse setup and ran into a strange issue with m2e workspace resolution.
I moved from Eclipse 2021 to Eclipse 2025.
I created a completely clean Eclipse installation and ...
0
votes
1
answer
77
views
"command is either misspelled or could not be found" with Win 11 but not Win 10
A year ago I created an Eclipse project (Eclipse 2020-06, Java 8, Win 10) that uses the GIS LAStools libary to e.g. extract data from a couple of files.
I'm now using Win 11 on a different PC and want ...
0
votes
0
answers
42
views
Hugging Face /hf-inference/v1/chat/completions returns 422 in Eclipse plugin [closed]
I'm building an Eclipse plugin for code completion using the Hugging Face API. My plugin sends a prompt to the endpoint:
https://router.huggingface.co/hf-inference/v1/chat/completions
I replaced the ...
0
votes
1
answer
35
views
Log4j2 annotation processor not run in Eclipse when start Java application with Eclipse run configuration
I have a Java desktop application project (Java 21, Gradle 8.5 with Groovy DSL, Log4j v2.22.1, Eclipse 2025-09, Eclipse Buildship 3.1.10).
Log4j shall NOT use classpath scanning for custom appenders ...
0
votes
2
answers
103
views
java.lang.ClassNotFoundException: okio.Buffer when using OkHttp inside Eclipse plugin (OSGi)
I am developing an Eclipse plugin (OSGi environment) and trying to use OkHttp 4.11.0 to send HTTP requests. However, I get the following runtime error:
java.lang.ClassNotFoundException: okio.Buffer ...
2
votes
0
answers
73
views
How can I apply "organize imports" action programmatically in an Eclipse batch application?
I'm creating an Eclipse batch application that applies source cleanups (equivalent of right-click menu Source -> Clean Up) from a profile file. It's an XML file listing the rules and whether they'...
-1
votes
0
answers
21
views
The installation process is taking longer than usual:Collected 3 artifactshttps://download.eclipse.org/justj/jres/25/updates/release/latest in 64.625s
The installation process is taking longer than usual: Collected 3 artifacts for https://download.eclipse.org/justj/jres/25/updates/release/latest in 64.625s
during eclipse installation
0
votes
0
answers
46
views
Eclipse error after Kubuntu upgrade from 20 to 22
I upgraded my Kubuntu system from 20 to 22 and now I cannot start eclipse. I tried loading the java version openjdk 21.0.8 2025-07-15 and the downloaded the latest 2025-09 eclipse package, but I ...
0
votes
1
answer
44
views
Wrong Format in Eclipse
I have two Projects, they have the same .project File in Eclipse
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Name of the Project</...
1
vote
0
answers
122
views
Spring Boot's strange warnings in STS for Eclipse
Foreword: I have been looking for a possible solution for many days, finding nothing really similar to my problem.
I am reading Craig Walls's book "Spring in Action" (6th edition) to resume ...
0
votes
2
answers
87
views
Eclipse 2025-09 Javascript editing - how do I turn off deprecated warnings?
I am editing javascript code in Eclipse, and the IDE is showing a deprecated method signature hint/warning when calling
document.execCommand("copy");
The hint is
Description Resource ...
0
votes
0
answers
82
views
Eclipse 2025‑06: “Updating Software has encountered a problem” when updating
Im trying to update Eclipse IDE for Enterprise Java and Web Developers (version 2025‑06, Windows 10, 64-bit, Java 21), but as soon as I select all the files to upgrade and click Finish, I get the ...
2
votes
0
answers
92
views
What does it mean when Eclipse displays a "Login required" dialog window on launch?
May be related to my other question.
Eclipse IDE for Java Developers 2025-09 on Windows 10.
When launching the IDE, i.e. running file eclipse.exe (in the Eclipse installation folder), one of the ...
0
votes
1
answer
300
views
Eclipse keeps asking me to install Java 25 (but it's already installed)
So I downloaded a brand new eclipse for java developers (2025-09) for Mac (AArch64).
As soon as it started, it told me I didn't have Java 25 installed. Well, I didn't, so I downloaded Temurin 25, ...
-1
votes
0
answers
46
views
STS for Eclipse with Copilot Metrics plugin
I use STS for Eclipse and I installed GitHub Copilot plugin and the Copilot Metrics plugin.
In the Copilot Metrics plugin settings, I set up a valid https url and a token but it doesn't work. It ...
0
votes
0
answers
79
views
Maven project build error : package net.bytebuddy.agent.builder is not visible, package net.bytebuddy.description.type is not visible
I created new maven project in Eclipse IDE. While build it produced some errors. Below I listed the errors, pom.xml , MANIFEST.MF and Agent.java. What should I do to solve the errors?
Errors
[ERROR] /...
1
vote
0
answers
53
views
Enabling Code Templates on Eclipse CDT (LSP)
With (old) Eclipse CDT we could define templates under Preferences > C/C++ > Editor > Templates which could be inserted into the code using CTRL + SPACE shortcut.
After upgrading to C++20 I ...
0
votes
1
answer
67
views
eclipse 202509 use wrong java version
I found if I rename the eclipse executable to another name like eclipse-test, and double click it, it does not follow the java version defined in eclipse.ini
--launcher.defaultAction
openFile
--...
0
votes
0
answers
52
views
JSF page : why am I getting a "Syntax error in EL" in eclipse editor?
I have a JSF primefaces page with this expression : #{userSearchBean.getModuleTabTitle(module)}
In UserSearchBean I have this method :
public String getModuleTabTitle(String s) {
return "123&...
1
vote
1
answer
186
views
Eclipse IDE for Java Developers 2025-09 ZIP Installation File Sanitization Failure
In order to install Eclipse IDE for Java Developers at my place of work, the installation ZIP file needs to be sanitized.
We download the ZIP from a link on this page: https://www.eclipse.org/...
0
votes
0
answers
55
views
Eclipse error: "Could not find or load main class example.MainClass" [duplicate]
Here’s my setup:
Eclipse IDE for Java Developers (latest version)
JDK / JRE version: JavaSE-21 (from Eclipse’s internal JRE)
Project location: D:\Dự án\CF TDLT\Javanew\src\example\MainClass.java
Clean ...
0
votes
0
answers
44
views
Eclipse IDE: Key command Query Replace
I recently switched from Eclipse 2022-09 (4.25.0) to 2025-06 (4.36.0). In old Eclipse, there was the key command Query Replace available with the Emacs scheme. In the new Eclipse, that command is ...
0
votes
0
answers
41
views
Installing Favorite Plugins Into Eclipse Marketplace
I have "Eclipse IDE for Java Developers (includes Incubating components) Version: 2025-09 (4.37.0)". When I go to the Marketplace client, there is no "favorites" tab that shows my ...
0
votes
0
answers
132
views
App built with Eclipse 4.37 Components, Run From Jar, gets "Libraries for platform win32 cannot be loaded because of incompatible environment" error
I am updating an app that uses the Eclipse components (SWT, JFace, etc) to use the Eclipse version 4.37 components.
The old version didn't use Maven, the new version does.
My problem is, while I can ...
0
votes
0
answers
51
views
Configuring Tomcat in IntelliJ IDEA 2021 Edition
So recently I joined a Maven based Java project where the existing team is using Eclipse IDE. Earlier I have used only IntelliJ IDEA.
Now what I saw that they add a tomcat server in eclipse and during ...
0
votes
0
answers
30
views
Eclipse + Gradle: Project and External Dependencies are showing absolute file path first
Problem
On my current project, I'm having issues with how Eclipse (2025-03 M3) is listing the Libraries projects use. Without Gradle, it lists the libraries in this format: whatever-version.jar <...
0
votes
1
answer
76
views
Why in Eclipse Java in the Maven Dependencies section some dependencies can be expanded and others not?
For Eclipse Java 2025-09
Exists a simple module project based with Java and Maven. This project works with dependencies. I have the following situation with the Maven Dependencies section as follows:
...
1
vote
0
answers
63
views
Eclipse Remote debugging issue
I am using Eclipse 2025-09. When attaching the remote debugger to Module B, my entire JBoss server gets suspended, even though I have set all breakpoint settings to suspend only the thread.
I work on ...
0
votes
0
answers
41
views
Annotations highlighted in white in eclipse
i've been using Eclipse for a while now and never had such problems with it.
But recently some annotations are highlighted in white, which makes them hard to read.
This doesn't affect all annotations ...
0
votes
0
answers
43
views
How to change background/border of current part of code in Outliner
In Eclipse IDE, how can you change the background and or the border of the selected part of the code from the Outline, be it that you are in a function or writing/changing a variable.
Here is an ...
0
votes
0
answers
48
views
Manually configure build toolchain from scratch in Eclipse CDT
I have imported a C++ project into Eclipse and would like to build it from Eclipse.
I managed to configure the include directories, causing most errors about missing includes to go away. I have also ...
0
votes
0
answers
23
views
Eclipse P2: Updating the plugin with a custom Provisioning Action
We are developing plugins for Eclipse and we have a plugin (let's call it pluginA) that has a p2.inf under /pluginA/META-INF. This file contains some configuration instructions when installed/updated. ...
0
votes
0
answers
60
views
Using -clean in Eclipse 4.31 RCP/RAP slows OSGi SOAP service startup
I have an Eclipse 4.31 based RCP/RAP application that uses OSGi SOAP services. When I start Eclipse with the -clean command, the startup performance of my SOAP services becomes significantly slower.
...
5
votes
1
answer
158
views
Eclipse Build structure in "target/classes" differs from that of exported Jar
I have an Eclipse project created with "new/Maven Project/Create a simple project".
Here's the project structure:
When running a.b.Test.class in the IDE, the project is built into "...
0
votes
1
answer
134
views
How to set up upgraded JDK/JRE in Eclipse that came as bundle
I have JDK 17 installed on my machine. I imported a Maven project in Eclipse that requires Java 21.
Eclipse did not have jdk21 compliance in its compiler settings. I installed a new version of Eclipse`...
0
votes
1
answer
55
views
Cannot connect to VM Socket operation on nonsocket: configureBlocking
I'm struggling since 2 days trying to solve this issue on Eclipse/Spring Tool Suite:
Cannot connect to VM
Socket operation on nonsocket: configureBlocking
Java version:
openjdk version "1.8....
0
votes
0
answers
91
views
Getting DBeaver Eclipse Plugin for Older Versions of Eclipse
I noticed on the Eclipse Marketplace DBeaver that the latest versions of DBeaaver require Eclipse 2025-06 to run. I am required to use an older version of Eclipse. Is there somewhere I can download ...
-4
votes
1
answer
89
views
Spring Boot Project application.properties file disapeared [closed]
I have a running Java Spring project that previously contained an application.properties file. Today, when I wanted to update some configuration, I noticed that the file is missing.
It’s not in Git ...
2
votes
0
answers
86
views
Hibernate Toools 6.5 Reverse Engineering Does Not Generate JPA Annotations
Eclipse 2025-06, OpenJDK 25, Hibernate Tools 6.5, PostgreSQL Database v17, postgresql-42.7.2.jar driver
I set up Hibernate Configuration and checked Console Configuration Type to JPA (jdk 1.5+). In ...
0
votes
0
answers
52
views
How do I get rid of Connection Profile box in Eclipse editor?
I am using Eclipse Version: 2025-03 (4.35.0) on Mac Sequoia and editing SQL files.
Today when I open Eclipse to edit an SQL file the Connection Profile box appeared at the top of the editor despite ...
0
votes
2
answers
113
views
Prime Number Checker iterating and printing every element when only the last element needs to be printed, How can this be solved?
I am a beginner programmer currently writing a program that will check if a number is prime or not, and then if a number below zero, print out a couple extra details. Those details would be the ...
0
votes
0
answers
66
views
Can I get the Eclipse Java Formatter to properly handle variable declarator lists
Whenever, and only whenever, I have multiple field declarators in a list, I want this style:
private static final String
CONSTANT_STRING_1 = "foobar",
CONSTANT_STRING_2 = "...
0
votes
0
answers
34
views
How can I disable the CSS color selector dialog in Eclipse?
On Windows, Eclipse brings up the default Windows color selector when the color swatch next to a CSS color property is clicked. This is a modal dialog that needs to be clicked away. For me, this is a ...
1
vote
1
answer
84
views
Got an error when install Kotlin plugin in Eclipse
I wanna install Kotlin plugin (by JetBrains) for Eclipse, but then i got an error:
details:
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.jdt.ui" was unable to instantiate ...
0
votes
1
answer
73
views
How to correct the build path for a JUnit Test Class in Eclipse? [duplicate]
I'm making a JUnit test class for a java class in Eclipse and I'm unsure of what steps to take to fix it.
I tried to add the JUnit 5 Library to the build path as part of "Fix project setup",...
1
vote
0
answers
53
views
How to push Eclipse Java Project to Github? [duplicate]
For a class, we're supposed to create a project on Eclipse then push it to our github repository. However, when I try to do so and log in with my github information, it doesn't work. First, we were ...
0
votes
1
answer
71
views
undefined method error in eclipse in a project correctly building with maven
Eclipse gives me the following error:
The method delete(Sumti) is undefined for the type SumtiRepository DeleteBridiTest.java
The relevant parts of DeleteBridiTest.java:
public class DeleteBridiTest ...
4
votes
0
answers
49
views
How to set "Java Compare" as the default compare editor in Eclipse?
When I select a file from the Git Staging view in Eclipse, it opens the compare editor against HEAD.
By default, Eclipse uses Java Source Compare, but this mode has very limited syntax highlighting. I ...
1
vote
1
answer
73
views
Eclipse AutoComplete Not Matching JDK Version [closed]
I am currently using the latest version of Eclipse IDE and have my project setup to use JDK8, however when I attempt to use the autocomplete it provides suggestions from future compiler versions. This ...
0
votes
0
answers
67
views
Tomcat + Eclipse: "The filename, directory name, or volume label syntax is incorrect" when running Maven web project
I am working on a Maven web project in Eclipse with Tomcat.
When I click Run on Server → Tomcat 10 in Eclipse (on my dev server), instead of console logs, I immediately get a Windows dialog box: “The ...