WorldWindServerKit icon indicating copy to clipboard operation
WorldWindServerKit copied to clipboard

mvn clean install, fails in testing

Open zacbayhan opened this issue 6 years ago • 0 comments

Hi everyone, I'm attempting to build the server kit and seems to chug along nicely for a while until it gets into the tests. if anyone happens to know a quick fix, or notice i'm doing something wrong please let me know.

Tests in error: 
  testStructure(gov.nasa.worldwind.gs.web.AboutWWSKPageTest): javax/activation/FileTypeMap

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WorldWind Server Kit 0.6.0:
[INFO] 
[INFO] WorldWind Server Kit ............................... SUCCESS [ 47.149 s]
[INFO] WorldWind GeoPackage Module ........................ SUCCESS [02:13 min]
[INFO] WorldWind GeoServer WMS Module ..................... SUCCESS [01:58 min]
[INFO] WorldWind Core UI Module ........................... FAILURE [ 13.736 s]
[INFO] WorldWind GeoPackage Extension ..................... SKIPPED
[INFO] WorldWind GeoServer Explorer ....................... SKIPPED
[INFO] WorldWind GeoServer Application .................... SKIPPED
[INFO] WorldWind GeoServer Distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:14 min
[INFO] Finished at: 2019-01-24T01:55:32Z
[INFO] ------------------------------------------------------------------------
Jan 24, 2019 1:55:29 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.147 sec <<< FAILURE!
testStructure(gov.nasa.worldwind.gs.web.AboutWWSKPageTest)  Time elapsed: 6.351 sec  <<< ERROR!
java.lang.NoClassDefFoundError: javax/activation/FileTypeMap
	at org.springframework.mock.web.MockServletContext.getMimeType(MockServletContext.java:293)
	at org.apache.wicket.protocol.http.WebApplication.getMimeType(WebApplication.java:1011)
	at org.apache.wicket.core.util.resource.UrlResourceStream.getData(UrlResourceStream.java:124)

zacbayhan avatar Jan 24 '19 02:01 zacbayhan