ZK GAE:禁用Java类

时间:2015-07-24 03:27:20

标签: java google-app-engine zk

是否可以阻止整个项目加载某些类或禁用它?

我在GAE的日志中收到了类似警告的内容

org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:410
WARNING: Component captcha ignored. Reason: unable to load org.zkoss.zul.Captcha due to java.lang.NoClassDefFoundError: java.awt.Font is a restricted class. 
Please see the Google  App Engine developer's guide for more details.

This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. 
This request may thus take longer and use more CPU than a typical request for your application.

这可能只是一个警告,但不知何故,加载页面需要更长的时间。对于这种情况,我希望GAE或ZK阻止org.zkoss.zul.Captcha加载,因为它包含受GAE限制的java.awt.font

0 个答案:

没有答案