Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
2.3.3.Final, 2.3.4.Final, 2.3.5.Final
-
None
-
None
Description
When instantiating TJWSEmbeddedJaxrsServer(), the console reports:
MIME map can't be loaded:java.lang.NullPointerException
This is because Serve.initMime() looks for a resource called 'Acme/Resource/mime.properties', which appears to have been removed from the JAR file since 2.3.3 (it was present in 2.3.2).
TJWSEmbeddedJaxrsServer extends TJWSServletServer, which contains a static class called FileMappingServe which extends Serve. initMime() is called at the very end of the Serve(Map, PrintStream) constructor.