All Questions
38
questions
0
votes
1
answer
45
views
In maven dependency folder, dependencies are not loading showing [without test code]
I am working on Spring application, upgrading from java 8 (spring boot version 2.6.7) to java 17(spring boot 3.2.6) ,
I have two projects , project A dependent on project B ,As jars of project B ...
0
votes
0
answers
55
views
How to Migrate from Java 11 to 17 for a plugin with jars in classpath and packages are exported
We have a plugin named mockito and it has cglib-nodep-2.2.2.jar, hamcrest-core-1.3.jar, mockito-core-1.10.19.jar, objenesis-2.4.jar, jmockit-1.49.jar in it's bundle-classpath and have exported all the ...
1
vote
0
answers
110
views
javax.smartcardio cannot be resolved after updating Maven project to Java 17
I recently updated my Maven project from Java 8 to Java 17. After the update, I encountered an issue where Eclipse cannot resolve javax.smartcardio.* imports in my project. I found a workaround by ...
0
votes
0
answers
40
views
The package org.apache.jena does not exist
I'm trying to query RDF data from an RDF file using SPARQL CONSTRUCT queries in Eclipse IDE.
I try to import this: import org.apache.jena.rdf.model.*; in Eclipse
I get the error:
The package org....
0
votes
0
answers
40
views
How to run pom.xml inside eclipse on jdk 17 and can I change jdk 17 to jdk 11 inside eclipse
I am using maven 3.9.3 and jdk 17 in eclipse (see 3 imgsenter image description hereenter image description here)enter image description hereenter image description here
But now I am changed from jdk ...
0
votes
0
answers
82
views
JavaFX & Maven: NSException
I created a new project using the Eclipse wizard for a new Maven project. Here is the primary class:
package org.openjfx.fxhello;
import javafx.application.Application;
import javafx.scene.Scene;
...
0
votes
1
answer
607
views
Updating Java version from 8 to 17 on Eclipse 4.7 (Oxygen)
In my previous question I was suggested to update the Java version from 8 to 17 (or later).
I was given a 2017 Eclipse version (Oxygen, 4.7.0) as you can see below:
Currently Eclipse is using JavaSE-...
0
votes
0
answers
155
views
Eclipse executable launcher error: Exported Product is Unable to locate companion shared library
I have an Eclipse RCP Aplication, that was created using eclipse 3.7.
Now I'using last version on eclipse.
For the record, I don't convert the app to E4, I just modify some lines, and it works.
Also I'...
0
votes
1
answer
321
views
JDK 17 accessExternalSchema issue in Eclipse RCP
In Eclipse RCP I have a plugin that has dependencies of a jar.
In this jar, inside a package called "xsd" there are some .xsd files.
(https://i.sstatic.net/Npv0u.png)
In the same jar there ...
0
votes
0
answers
104
views
OSGI equinox Servlet.init() for servlet .equinoxbridgeservlet. threw exception for Java 17
I have a web application that has been tested successfully with Java 8 and Java 11, but when I try to start the Tomcat server with Java 17, it throws an exception during the initial stage of the init()...
0
votes
0
answers
412
views
javax.smartcardio* not recognized in java17 in eclipse in a non module project
I am facing the problem in eclipse while migrating a project from java8 to java17 which uses javax.smartcardio. I have build error saying "CardTerminal cannot be resolved to a type" as the ...
1
vote
0
answers
345
views
Eclipse 2023-09, Java 17 and xhtml content assist not working
I am running Eclipse 2023-09 (4.29.0), Java 17 (Amazon Corretto 17.0.8_8) and have noticed that content assist we had available when using Java 11 on our xhtml pages no longer seems to be working.
We ...
1
vote
1
answer
377
views
@Nullable annotation cannot be applied here
Eclipse shows this as a Java problem:
Annotation types that do not specify explicit target element types cannot be applied here.
This only happened when I upgraded from Eclipse 2022-09 to 2023-09.
...
0
votes
0
answers
307
views
JVM terminated. Exit code=127
I updated CentOS 7 with jdk-17.0.5 and for java 17 support I also downloaded latest sts-4.19.1. When I open STS, it shows the error in the screenshot below.
The latest version of STS should run on ...
4
votes
2
answers
586
views
JAVA 17 : Pattern matching subtype
I'm using Java 17, the last line shouldnt compile, but when i'm using eclipse it does compile, now i'm confused should the value be a subtype or it can be anything?
Double value = 123.3;
if(value ...