Java Web Start “Cannot find cached resource for URL”

自闭症网瘾萝莉.ら 提交于 2019-12-01 07:37:00

The actual problem is probably down to your web server sending the HTTP header "Cache-Control" with the value "no-store" to avoid caching. However, by specifying "no-store" it means JWS is unable to store the resources specified in your JNLP file.

To avoid this problem without having to disable "Keep temporary files on my computer" as this allows the application to work in offline mode, I updated my Apache web server configuration to send the following to disable intermediate proxies from caching content:

Header set Cache-Control "no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"

The solution for me was in the Java Control Panel -> General -> Temporary File Settings:

  • Click "Delete Files..." and chose all options.
  • Disable "Keep temporary files on my computer."

There's a video showing these steps: https://www.youtube.com/watch?v=uI9RbmT9PKs

"Click "Delete Files..." and chose all options." only, than call the Web Start Resource (a .jnlp/JNLP File) again, else you would have to download all the files again and again.

Upgrade from Java 7 to Java 8 to fix this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!