Howdy,

Am using 3.9.6 on 21 on a regular basis, and Maven per se does nor have
this issue.
How did you install Maven 3.9.6? Did you verify that the download is not
damaged for example?

T

On Wed, Mar 27, 2024 at 6:00 PM Tommy Svensson <to...@natusoft.se> wrote:

> Hello Maven users!
>
> I am having problem building with maven on a GitHub codespace!
>
> It complains about; Caused by: java.lang.ClassNotFoundException:
> org.codehaus.plexus.util.StringUtils
>
> I believe this is due to only JD17 and JDK21 is available with JDK21 being
> the default.
>
> My problem is that locally on my private machine it builds fine, but on
> GitHub spaces I get:
>
> Caused by: java.lang.ClassNotFoundException:
> org.codehaus.plexus.util.StringUtils
> at
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>
> The maven version is:
> Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
>
> Is there any known solution for this combination / situation or is it just
> "forgett maven on GitHub codespaces" ?
>
> Best Regards,
> Tommy Svensson
> ______________________
> Tommy Svensson
> to...@natusoft.se (mailto:to...@natusoft.se)
>
>

Reply via email to