[ https://issues.apache.org/jira/browse/MATH-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429285#comment-17429285 ]
Alex Herbert commented on MATH-1633: ------------------------------------ [~erik_nasdaq] Does the change to the SpotBugs plugin fix your issue? > Commons-Math does not build under java 17 > ----------------------------------------- > > Key: MATH-1633 > URL: https://issues.apache.org/jira/browse/MATH-1633 > Project: Commons Math > Issue Type: Bug > Affects Versions: 4.0 > Reporter: Erik Svensson > Priority: Major > > Building with java 17 fails with > {{[WARNING] Error injecting: org.codehaus.mojo.spotbugs.SpotBugsMojo}} > {{com.google.inject.ProvisionException: Unable to provision, see the > following errors:}} > {{1) Error injecting constructor, java.lang.NoClassDefFoundError: Could not > initialize class org.codehaus.groovy.vmplugin.v7.Java7}} > {{ at org.codehaus.mojo.spotbugs.SpotBugsMojo.<init>(Unknown Source)}} > {{ while locating org.codehaus.mojo.spotbugs.SpotBugsMojo}} > -- This message was sent by Atlassian Jira (v8.3.4#803005)