HTTP Status 500 – Internal Server Error
Type Exception Report
Message Servlet.init() for servlet Jersey Web Application threw exception
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
javax.servlet.ServletException: Servlet.init() for servlet Jersey Web Application threw exception org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1152) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748)
Root Cause
org.glassfish.jersey.internal.ServiceConfigurationError: org.glassfish.jersey.server.spi.ContainerProvider: : java.nio.file.AccessDeniedException: C:\Program Files\Apache\apache-tomcat-8.0.53\temp\jar_cache5355110165108636250.tmp org.glassfish.jersey.internal.ServiceFinder.fail(ServiceFinder.java:410) org.glassfish.jersey.internal.ServiceFinder.parse(ServiceFinder.java:489) org.glassfish.jersey.internal.ServiceFinder.access$400(ServiceFinder.java:155) org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.hasNext(ServiceFinder.java:685) org.glassfish.jersey.internal.ServiceFinderBinder.configure(ServiceFinderBinder.java:91) org.glassfish.hk2.utilities.binding.AbstractBinder.bind(AbstractBinder.java:171) org.glassfish.hk2.utilities.binding.AbstractBinder.install(AbstractBinder.java:315) org.glassfish.jersey.server.ServerBinder.configure(ServerBinder.java:123) org.glassfish.hk2.utilities.binding.AbstractBinder.bind(AbstractBinder.java:171) org.glassfish.jersey.internal.inject.Injections.bind(Injections.java:158) org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:148) org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:137) org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:287) org.glassfish.jersey.servlet.WebComponent.(WebComponent.java:311) org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:169) org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:359) javax.servlet.GenericServlet.init(GenericServlet.java:158) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1152) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748)
Note The full stack trace of the root cause is available in the server logs. Apache Tomcat/8.0.53