gae报错:javax.swing.tree.TreeNode is a restricted class的解决办法

报错信息:

javax.swing.tree.TreeNode is a restricted class. Please see the Google App Engine developer's guide for more details.



问题原因:

freemarker使用到了gae不允许的class



解决办法:

工程内新建freemarker.core.TextBlock覆盖freemarker类

具体代码见附件




原文地址:
http://www.romotc.com/?p=7004

你可能感兴趣的:(freemarker,swing,Google,GAE)