Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3850

SimpleHttpFileServer no longer available in gradle 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.2, 2.12.0
    • Fix Version/s: 2.11.2
    • Component/s: gradle
    • Labels:
      None
    • Environment:

      Description

      build.gradle doesn't compile with a modern gradle version :
      gradle -PJAVA_VERSION=11 compileJava jalviewjs

      FAILURE: Build failed with an exception.

      * Where:
      Build file '/Users/jprocter/git/jalview/build.gradle' line: 2808

      * What went wrong:
      Could not compile build file '/Users/jprocter/git/jalview/build.gradle'.
      > startup failed:
        build file '/Users/jprocter/git/jalview/build.gradle': 2808: unable to resolve class SimpleHttpFileServerFactory
         @ line 2808, column 33.
               SimpleHttpFileServerFactory factory = new SimpleHttpFileServerFactory()
                                           ^
        
        build file '/Users/jprocter/git/jalview/build.gradle': 2808: unable to resolve class SimpleHttpFileServerFactory
         @ line 2808, column 43.
           tpFileServerFactory factory = new Simple
                                         ^
        
        2 errors


      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

      * Get more help at https://help.gradle.org

      BUILD FAILED in 2s
      (base) M-000981:jalview jprocter$

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: