java.awt.Color is a restricted class in Google App Engine

asked 2014-02-12 06:14:59 +0800

bhattsu gravatar image bhattsu
41 1

Trying to deploy ZK in google app engine and getting following error. Any idea why?

[INFO] Caused by: java.lang.NoClassDefFoundError: java.awt.Color is a restricted class. Please see the Google App Engine developer's guide for more details. [INFO] at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51) [INFO] at org.zkoss.web.fn.Colors.parseCSS(Colors.java:29) [INFO] at org.zkoss.web.fn.ThemeFns.toColor(ThemeFns.java:469) [INFO] at org.zkoss.web.fn.ThemeFns.toHex(ThemeFns.java:401) [INFO] at org.zkoss.web.fn.ThemeFns.grad(ThemeFns.java:155)

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-12 07:23:33 +0800

chillworld gravatar image chillworld flag of Belgium
5347 4 9

Its normal,

java.awt.Color is not in the list that Google App Engine can reach. See here for more info and what can be reached:


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-02-12 06:14:59 +0800

Seen: 14 times

Last updated: Feb 12 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More