I tried building on my Windows 11 via `mvn clean install -DskipTests -Pcore-modules,-main` (the `-Pxxx` is to skip some modules like connectors) and it worked well. - java version "17.0.4" 2022-07-19 LTS - Maven 3.8.6
I see your project directory is "C:\pulsar" and the lightproto plugin will generate new Java files in a subdirectory. Did you have the write permission on this directory? Thanks, Yunze On Mon, Nov 20, 2023 at 8:53 PM Umut Bilal Okur <umutoku...@outlook.com> wrote: > > Hi, are there any one who can help me, please ? > ________________________________ > Gönderen: Umut Bilal Okur <umutoku...@outlook.com> > Gönderildi: 19 Kasım 2023 Pazar 18:06 > Kime: dev@pulsar.apache.org <dev@pulsar.apache.org> > Konu: PulsarMarker.proto throws error > > Hello folks, > > I'm pretty new here, while I were trying to run command "mvn clean install > -DskipTests" on project source code I got an error as below: > [ERROR] Failed to execute goal > com.github.splunk.lightproto:lightproto-maven-plugin:0.4:generate (default) > on project pulsar-common: Failed to generate lightproto code for > [C:\pulsar\pulsar-common\src\main\proto\PulsarApi.proto, > C:\pulsar\pulsar-common\src\main\proto\PulsarMarkers.proto]: Failed to write > serializer for field: uınt64 -> [Help 1]. > > I couldn't figure out why it happens, I'm on a Windows machine, I wonder if > that is the reason. > > Many thanks in advance.