Questions tagged [java-19]

Use this tag for questions specific to Java 19, which is version 19 of the Java platform, released on September 9, 2022. In most cases you should also specify the java tag.

67 questions
0
votes
1 answer

Spring boot azure project gives java.util.Comparator java.util.TreeMap.comparator accessible

I created a spring boot project with spring initializer and I'm following this tutorial here to setup azure. It's an empty project. mvn clean install, mvn clean package runs fine. The spring boot app also starts…
0
votes
0 answers

Unexpected Garbage Collector activity when disabling vector access bounds checking

I have observed odd GC behavior when testing Java 19 jkd.incubator.vector and java.lang.foreign APIs. Using JMH to avoid OSR compilation artifacts (please let me know if I'm doing this part wrong), I have the following two nearly-identical…
0
votes
0 answers

No implementation for org.apache.maven.shared.filtering.MavenResourcesFiltering was bound

I am trying to do mvn clean install, but I am getting stuck at this error This is my pom.xml I can not run my Spring Boot project. What is the problem?
Maxopp
  • 1
  • 1
0
votes
1 answer

spring boot - springfox-boot-starter integration giving 404 with no error

Java Version: 19.0.1 Springboot: 3.0.1 using dependency: io.springfox springfox-boot-starter 3.0.0 Swagger configuration class @Configuration public…
Prafulla Kumar Sahu
  • 9,321
  • 11
  • 68
  • 105
0
votes
2 answers

How to make UUID auto generated in springbok Cassandra app

I am using Java: 19 Springboot: 3.0 Dependency org.springframework.data spring-data-cassandra Entity…
0
votes
0 answers

JavaFX Working Except for FXMLLoader Import

When I was searching for a solution I noticed most people's issues was an incorrect installation. I believe my installation is correct as a normal JavaFX project works fine. However, I am not able to import the FXMLLoader or use it in my Java…
0
votes
0 answers

Hibernate error: No Persistence provider for EntityManager named HibernateEjemplo1

I'm a programming student and this is my first contact with Hibernate. When trying to make a program with netbeans 16 and JDK 19, using Hibernate to connect to a SQL database I get the following error. Exception in thread "main"…
0
votes
2 answers

no usage found in project files

I am learning Java last some days in IntelliJ. Yesterday I updated JDK (Java 19.0.1, 2022-10-18) and deleted old IntelliJ and installed new IntelliJ. After I created a project and it shows no usage. no usage public class Main { no usage public…
user20745795
0
votes
0 answers

Empty Netbeans13 pallet on Windows 11 (x64 bit)

Good day everyone. I'm having some trouble with Netbeans-13 running on a windows 11 (x64 bit system). If I open a project (new or old) it does not show any of the palette options. I use Netbeans-13 on a similar system at home but I'm away an a trip…
0
votes
2 answers

java.util.logging (Java 19) - Why isn't the logging written to disk immediately?

I have a small java program that uses logging. import java.util.logging.*;

 public class Main {
 static Logger logger = Logger.getLogger(Main.class.getName());
 static {
 try {
 …
Marvin
  • 1
0
votes
0 answers

JavaFX combobox selected item disappears after filtering in javafx-19 but works fine in javafx-8

I have used Combobox in editable mode and i have used filtered list to filter the list as the text change in the editor. The filtering works as i type the data in the editor. The problem occurs when i select member from the drop down list, the…
Ranjit Vamadevan
  • 514
  • 5
  • 21
0
votes
1 answer

get this error when i want to run compiled class java.lang.UnsupportedClassVersionError

I'm on Fedora 36 and installed java-latest-openjdk-devel (OJDK19) from Fedora repositories. I wrote a simple print hello world and named it test_for_error as follows public class test_for_error { public static void main(String[] args) { …
Naadiyaar
  • 45
  • 5
0
votes
0 answers

Can't hear sound from bluetooth speaker

I'm using Raspberry Pi with Ubuntu 22.10 and Java 19. I'm trying to play a sound with the following code: private static void testMixers() throws IOException, UnsupportedAudioFileException { try (AudioInputStream audioInputStream =…
Roy Ash
  • 1,078
  • 1
  • 11
  • 28
0
votes
0 answers

When I try to run ./cts-tradefed, an error occurs during the initialization of the JVM

When I try to run ./cts-tradefed an error occurred during the initialization of the JVM failure when starting JFR on_vm_start But GTS does not have this fail. java -version and javac -version are both ok. My java version is 19.0.1 If anyone can help…
Cassie
  • 1
0
votes
2 answers

Flickering HttpClient sometimes throwing IOException

I'm using java.net.http.HttpClient.newHttpClient() under Java 19 (Temurin) and perform sendAsync(...) requests from different treads on the same instance. I assume this is ok, as the javadoc states: Once built, an HttpClient is…
Itchy
  • 2,263
  • 28
  • 41