简体   繁体   English

Google App Engine上的JSP强制文件初始化不起作用

[英]JSP forced file initialization on Google App Engine not working

If you have an HTML filed listed as the forced JSP file, you may see error: 如果您将HTML字段列为强制JSP文件,则可能会看到错误:

com.google.apphosting.runtime.jetty9.JettyLogger warn: Failed startup of context
Caused by: javax.servlet.UnavailableException: No class in holder client

You are unable to use a static HTML file for a forced path JSP file. 您不能将静态HTML文件用于强制路径JSP文件。 A static HTML file is not precompiled and at runtime, jetty is unable to find the precompiled JSP. 静态HTML文件未预编译,并且在运行时,jetty无法找到预编译的JSP。 It looks for a servlet called "jsp", which it can use as the servlet class. 它寻找一个名为“ jsp”的servlet,它可以用作servlet类。 It will result in a "No class in holder" error because no servlet class is found. 因为找不到servlet类,将导致“持有人中没有类”错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM