Unfortunately this didn't help.
I've removed all other JDK Platforms except the default JDK 24 and
restarted the IDE. But to no success, these messages keep flooding.
My pom.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId><...></groupId>
<artifactId><...></artifactId>
<version>1.0.14-SNAPSHOT</version>
<packaging>war</packaging>
<name><...></name>
<properties>
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<patchLevel></patchLevel>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
</properties>
<distributionManagement>
<my local maven repo>
</distributionManagement>
<dependencies>
<lot of dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<configuration>
<source>17</source>
<target>17</target>
<compilerArguments>
<endorseddirs>${endorsed.dir}</endorseddirs>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Patch-Level>${patchLevel}</Patch-Level>
<Built-Timestamp>${maven.build.timestamp}</Built-Timestamp>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>${endorsed.dir}</outputDirectory>
<silent>true</silent>
<artifactItems>
<artifactItem>
<groupId>javax</groupId>
<artifactId>javaee-endorsed-api</artifactId>
<version>7.0</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Am 06.06.2025 um 13:14 schrieb Jens Zurawski:
Hi Neil,
thanks for your quick reply.
It's a long living project which I started years ago (Netbeans 12.3
with Java 8 was the first incarnation) and is a Maven Java EE 8
Project (Migration to Jakarta EE is planned, but will take some time).
It has grown throughout diverse Versions NB15, NB21, NB24, NB25, java
11, java 15, java 17. Maybe it's some artifact which is coming from
this update path?
Apart from that, I think my Environment ist ok so far. The current
project in NB26 is taking the bundled jdk 24 as build platform. I have
some more JDKs in the Tools / Java Platforms. I think it's from these
updates, since I have no real use for these old versions any more. I
have an open jdk 15.0.2, a open jdk 21.0.3 and a Zulu 17.0.9
additional to the bundled JDK 24.
I will try to remove them from the Java platforms and check if the
problem persists.
cu
Jens
Am 06.06.2025 um 12:52 schrieb Neil C Smith:
Hi,
On Fri, 6 Jun 2025 at 11:42, Jens Zurawski <j...@diegurus.de> wrote:
I have absolutely no clue what this message tries to tell me. I'm not
using/referencing java.util.zip.* anywhere in these projects. What has
java.util.zip.CRC32C to do with the source level? And how can I solve
this issue?
This line comes from here -
https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java#L1190
What project type / build system are you using? Have you configured
the project to use an alternative JDK?
Check the project properties for the Java Platform, and in Tools /
Java Platforms, for a broken JDK registration, which is a possible
cause for this.
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists