1,319 questions
Tooling
0
votes
0
replies
73
views
Java 17 migration: ADF application causing "reads package from both modules" errors in WebLogic 14.1.2
I am migrating a legacy Java application from Java 8 to Java 17 and weblogic 12c to weblogic 14.1.2.
The application is built using ADF and Struts and deployed on WebLogic 14.1.2. The project uses ...
Score of 0
0 answers
208 views
Import of xml libraries in java17
I did started a project, using java 1.8. In this project, I’m reading and writing xml files. So, I added those imports:
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers....
Score of -4
1 answer
276 views
How to Migrate from Java 8 32-bit to Java 17 32-bit? Eclipse Support Issues [closed]
I have been assigned a Java migration task. Currently, I am using Java 8 (32-bit), and now I need to migrate to Java 17 (32-bit). However, I noticed that there is no 32-bit version of Java 17 ...
Score of 4
1 answer
179 views
How to attach to a shared memory from Java 17 that was created from C++ using ftok() and shmget()
I have a Linux C++ application that creates a shared memory using ftok() to create a key based on a file and then shmget() to create a shared memory for the key.
How do I attach to this shared memory ...
Score of 1
0 answers
88 views
Java 1.8 Jwts token generation and validation migrate to Java 17
I need to migrate a project from Java 1.8 to Java 17 and I have troubles with a token generator.
Actually the generation is this (Java 1.8):
public String generateId(String id) {
return ...
Score of 1
0 answers
105 views
GWT compile fails after upgrading Java (6 → 17): CreateProcess error=206 (filename too long) and ClassNotFoundException with GWT 2.10
I'm in the process of upgrading a legacy project from java 6 to java 17.
When trying to build with jdk17, I’m running into two different issues depending on the GWT version I use.
1- Using old GWT ...
Score of 4
1 answer
94 views
Java 17 Documentation Tool causes failed UnknownElementException for record parameter
I am using the javax.tools.DocumentationTool to parse the Documentation of my source code base. I am using Java 17 jdk to run. It is triggering an javax.lang.model.element.UnknownElementException ...
Score of 0
1 answer
255 views
Java 17 Upgrade: Cannot find symbol error with Lombok `@FieldNameConstants` and MapStruct
After upgrading from Java 11 to Java 17, I'm encountering compilation errors related to Lombok's @FieldNameConstants annotation. I'm also using MapStruct, so I'm mentioning that in case that could be ...
Score of 0
1 answer
140 views
CompletableFutures, join() and get() vs thread interruption
In my code (Java 17) I am used to handle exceptions from combined CompletableFutures with get() like this:
try {
CompletableFuture.allOf(someFuture, someOtherFuture).get();
} catch (...
Score of 0
0 answers
154 views
Lombok Getter Setter not generated. Any annotation is not working
I am upgrading my application from Java 8 to Java 17 and Spring boot to 3.2.4. I am facing issues while upgrading lombok dependency. I have upgraded lombok to the following
dependencies {
...
Score of 1
0 answers
145 views
Building a Native application with quarkus
Am trying to learn Quakus and am trying to build a native application using the command mvn package -Pnative and am facing the following error:
[ERROR] Failed to execute goal io.quarkus.platform:...
Score of 3
0 answers
122 views
How can I best fix this JComboBox bug on macOS that wasn't fixed until Java 20?
Rendering a JComboBox after calling setEditable(true) on macOS looks bad. I really like 99.9% of AquaLookAndFeel so I won't be switching to MetalLookAndFeel. Making the app require Java 20 is not ...
Score of 0
0 answers
99 views
error: Qualifier error. No method found annotated with @Named#value:mapClientInformation
I am trying to migrate our API to Java 17 and Spring 6.2x version and I have some issue with the MapStruct. The qualifiedByName is recognized for some and other result in following error:
error: ...
Score of 0
0 answers
104 views
Oracle SQL Developer Open/Save Files Issue (Version 24.3)
Latest version of Oracle SQL Developer (24.3) has a problem opening and saving Worksheet files that contain the hash (#) character.
The ‘open file’ dialog strips off any part of the filename after a ...
Score of 0
0 answers
155 views
Cause: org.postgresql.util.PSQLException: This connection has been closed error after Java 17 + WildFly 26 upgrade
here is the datasource. This was observed only after the java upgrade from 8 to 17. and wildfly upgrade. Any thoughts on Error 2 and 3 ?
Errors:
HeuristicMixedException
This got solved after setting ...