Found this thread with same issue
https://osgeo-org.atlassian.net/browse/GEOT-5910
I will try downgrade to protobuf 3.4
On Tuesday, January 4, 2022 at 1:23:35 PM UTC-5 Geoffrey Schulman wrote:
> Gradle builds just fine, but eclipse complaining about all casts from
> GeneratedMessageLite.Builder()
>
> public static Builder newBuilder() {
> return (Builder) DEFAULT_INSTANCE.createBuilder();
> }
>
> Cannot cast from
> GeneratedMessageLite.Builder<GeneratedMessageLite<GeneratedMessageLite<MessageType,GeneratedMessageLite.Builder<MessageType,BuilderType>>,GeneratedMessageLite.Builder<GeneratedMessageLite<MessageType,BuilderType>,BuilderType>>,GeneratedMessageLite.Builder<GeneratedMessageLite<GeneratedMessageLite<MessageType,BuilderType>,BuilderType>,BuilderType>>
>
> to PeerSeedProtos.PeerSeeds.Builder
>
> On Monday, January 3, 2022 at 8:16:25 PM UTC-5 Andreas Schildbach wrote:
>
>> If you use Gradle for building, it should use the correct versions
>> automatically.
>>
>> On current master, we use Protobuf 3.18.0.
>>
>>
>> On 04/01/2022 01.18, Geoffrey Schulman wrote:
>> > Curious which version of protobuf I should be building with as 3.19.1
>> > java source has come compilation errors...
>> >
>> > Thank you
>> >
>> > Geoff Schulman
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "bitcoinj" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an email to [email protected]
>> > <mailto:[email protected]>.
>> > To view this discussion on the web visit
>> >
>> https://groups.google.com/d/msgid/bitcoinj/34c776d4-b007-47d6-9190-bf05917e8a5dn%40googlegroups.com
>>
>> > <
>> https://groups.google.com/d/msgid/bitcoinj/34c776d4-b007-47d6-9190-bf05917e8a5dn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>
>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bitcoinj/7393b9b4-b133-48a0-b3e0-bffca28df697n%40googlegroups.com.