GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Could not find artifact io.netty:netty-codec-native-quic · Issue #15306 · netty/netty

Could not find artifact io.netty:netty-codec-native-quic #15306

New issue
Copy link
New issue
Copy link
Open
Open
Could not find artifact io.netty:netty-codec-native-quic#15306
Copy link

Description

@violetagg
violetagg
opened on Jun 3, 2025
Issue body actions

When trying to resolve the new netty-codec-http3, the failure below occurs

pom.xml

<dependencies>
	<dependency>
		<groupId>io.netty</groupId>
		<artifactId>netty-codec-http3</artifactId>
		<version>4.2.2.Final-SNAPSHOT</version>
	</dependency>
</dependencies>
[ERROR] Failed to execute goal on project netty-http3-example: Could not resolve dependencies for project org.example:netty-http3-example:jar:1.0-SNAPSHOT
[ERROR] dependency: io.netty:netty-codec-native-quic:jar:${os.detected.name}-${os.detected.arch}:4.2.2.Final-SNAPSHOT (compile)
[ERROR]         Could not find artifact io.netty:netty-codec-native-quic:jar:${os.detected.name}-${os.detected.arch}:4.2.2.Final-SNAPSHOT in snapshot (https://central.sonatype.com/repository/maven-snapshots)

Reproducible example you can find here
https://github.com/violetagg/netty-http3-example

Activity

Next
  1. normanmaurer commented on Jun 17, 2025

    @normanmaurer
    normanmaurer
    on Jun 17, 2025
    Member
    More actions

    This was fixed

  2. normanmaurer
    closed this as completedon Jun 17, 2025
  3. normanmaurer
    added this to the 4.2.3.Final milestone on Jun 17, 2025
  4. violetagg commented on Jul 8, 2025

    @violetagg
    violetagg
    on Jul 8, 2025
    MemberAuthor
    More actions

    @normanmaurer I'm still having issues with the dependencies. Now with 4.2.3.Final-SNAPSHOT, I'm seeing this exception

    Exception in thread "main" java.lang.UnsatisfiedLinkError: failed to load the required native library
    	at io.netty.handler.codec.quic.Quic.ensureAvailability(Quic.java:87)
    	at io.netty.handler.codec.quic.QuicCodecBuilder.<init>(QuicCodecBuilder.java:66)
    	at io.netty.handler.codec.quic.QuicClientCodecBuilder.<init>(QuicClientCodecBuilder.java:33)
    	at io.netty.handler.codec.http3.Http3.newQuicClientCodecBuilder(Http3.java:160)
    	at org.example.Main.main(Main.java:7)
    Caused by: java.lang.UnsatisfiedLinkError: could not load a native library: netty_quiche42_osx_aarch_64
    	at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:244)
    	at io.netty.handler.codec.quic.Quiche.loadNativeLibrary(Quiche.java:80)
    	at io.netty.handler.codec.quic.Quiche.<clinit>(Quiche.java:59)
    	at io.netty.handler.codec.quic.Quic.<clinit>(Quic.java:46)
    	... 4 more
    

    Reproducible example: https://github.com/violetagg/netty-http3-example

  5. violetagg
    reopened this on Jul 8, 2025
  6. chrisvest commented on Jul 8, 2025

    @chrisvest
    chrisvest
    on Jul 8, 2025
    Member
    More actions

    Making the computed native dependency not optional makes the repro pass, but I don't know if there are other undesirable downstream effects of doing that:

    Index: codec-http3/pom.xml
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/codec-http3/pom.xml b/codec-http3/pom.xml
    --- a/codec-http3/pom.xml	(revision 9a52b3cd5396b1c5f17114a8718f9626ddaaadb2)
    +++ b/codec-http3/pom.xml	(date 1751997803806)
    @@ -131,7 +131,6 @@
           <version>${project.version}</version>
           <classifier>${netty.quic.classifier}</classifier>
           <scope>runtime</scope>
    -      <optional>true</optional>
         </dependency>
         <dependency>
           <groupId>org.junit.jupiter</groupId>
  7. yawkat commented on Jul 9, 2025

    @yawkat
    yawkat
    on Jul 9, 2025
    Contributor
    More actions

    requiring that users depend on the right artifact for their platform seems reasonable. Incubator depended on all platforms transitively.

    Reacted by Violeta Georgieva
  8. chrisvest
    added a commit that references this issue on Jul 9, 2025

    Fix QUIC linking in HTTP3

    a6ba33d
  9. normanmaurer
    modified the milestones: 4.2.3.Final, 4.2.4.Final on Jul 14, 2025
  10. normanmaurer
    modified the milestones: 4.2.4.Final, 4.2.5.Final on Aug 13, 2025
  11. normanmaurer
    modified the milestones: 4.2.5.Final, 4.2.6.Final on Sep 3, 2025
  12. 5 remaining items

  13. normanmaurer
    modified the milestones: 4.2.9.Final, 4.2.10.Final on Dec 15, 2025
  14. normanmaurer
    modified the milestones: 4.2.10.Final, 4.2.11.Final on Feb 5, 2026
  15. normanmaurer
    modified the milestones: 4.2.11.Final, 4.2.12.Final on Mar 25, 2026
  16. chrisvest
    modified the milestones: 4.2.12.Final, 4.2.13.Final on Mar 25, 2026
  17. normanmaurer
    modified the milestones: 4.2.13.Final, 4.2.14.Final on May 5, 2026
  18. chrisvest
    modified the milestones: 4.2.14.Final, 4.2.15.Final on May 20, 2026
  19. chrisvest
    modified the milestones: 4.2.15.Final, 4.2.16.Final on Jun 2, 2026
  20. normanmaurer
    removed this from the 4.2.16.Final milestone on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.