Hi. I tried to build Geoserver 2.16.x with Maven but got this error.
[INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /D:/GEOSERVER_Der/geoserver-2.16.x/src/platform/src/main/java/org/geoser ver/platform/resource/FileSystemResourceStore.java:[238,39] unreported exception java.lang.Throwable; must be caught or declared to be thrown [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for GeoServer 2.16-SNAPSHOT: [INFO] [INFO] GeoServer .......................................... SUCCESS [03:00 min] [INFO] Core Platform Module ............................... FAILURE [01:28 min] [INFO] Open Web Service Module ............................ SKIPPED [INFO] Main Module ........................................ SKIPPED [INFO] GeoServer Security Modules ......................... SKIPPED [INFO] GeoServer Security Tests Module .................... SKIPPED [INFO] GeoServer JDBC Security Module ..................... SKIPPED [INFO] GeoServer LDAP Security Module ..................... SKIPPED [INFO] Web Coverage Service Module ........................ SKIPPED [INFO] Web Coverage Service 1.0 Module .................... SKIPPED [INFO] Web Coverage Service 1.1 Module .................... SKIPPED [INFO] Web Coverage Service 2.0 Module .................... SKIPPED [INFO] Web Feature Service Module ......................... SKIPPED [INFO] Web Map Service Module ............................. SKIPPED [INFO] KML support for GeoServer .......................... SKIPPED [INFO] gs-rest ............................................ SKIPPED [INFO] GeoWebCache (GWC) Module ........................... SKIPPED [INFO] gs-restconfig ...................................... SKIPPED [INFO] gs-restconfig-wcs .................................. SKIPPED [INFO] gs-restconfig-wfs .................................. SKIPPED [INFO] gs-restconfig-wms .................................. SKIPPED [INFO] WMTS REST configuration ............................ SKIPPED [INFO] GeoServer Web Modules .............................. SKIPPED [INFO] Core UI Module ..................................... SKIPPED [INFO] WMS UI Module ...................................... SKIPPED [INFO] GWC UI Module ...................................... SKIPPED [INFO] WFS UI Module ...................................... SKIPPED [INFO] Demos Module ....................................... SKIPPED [INFO] WCS UI Module ...................................... SKIPPED [INFO] Security UI Modules ................................ SKIPPED [INFO] Security UI Core Module ............................ SKIPPED [INFO] Security UI JDBC Module ............................ SKIPPED [INFO] Security UI LDAP Module ............................ SKIPPED [INFO] REST UI Module ..................................... SKIPPED [INFO] GeoServer Web Application .......................... SKIPPED [INFO] Community Space .................................... SKIPPED [INFO] GeoServer Extensions ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:41 min [INFO] Finished at: 2020-04-19T14:00:14+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3. 8.0:compile (default-compile) on project gs-platform: Compilation failure [ERROR] /D:/GEOSERVER_Der/geoserver-2.16.x/src/platform/src/main/java/org/geoser ver/platform/resource/FileSystemResourceStore.java:[238,39] unreported exception java.lang.Throwable; must be caught or declared to be thrown [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :gs-platform D:\GEOSERVER_Der\geoserver-2.16.x\src>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
