Failed to load /WEB-INF/template/template_widget_demo.zul Cause: Sourced file: inline evaluation of: `` import java.awt.*; import java.awt.image.*; import java . . . '' unknown error: Unable to make public void sun.java2d.SunGraphics2D.setStroke(java.awt.Stroke) accessible: module java.desktop does not "exports sun.java2d" to unnamed module @a7e140b : at Line: 42 : in file: inline evaluation of: `` import java.awt.*; import java.awt.image.*; import java . . . '' : BufferedImage bufferimg = newimg ( false ) Called from method: newimg : at Line: 42 : in file: inline evaluation of: `` import java.awt.*; import java.awt.image.*; import java . . . '' : newimg ( false ) org.zkoss.zk.ui.UiException: Sourced file: inline evaluation of: `` import java.awt.*; import java.awt.image.*; import java . . . '' unknown error: Unable to make public void sun.java2d.SunGraphics2D.setStroke(java.awt.Stroke) accessible: module java.desktop does not "exports sun.java2d" to unnamed module @a7e140b : at Line: 42 : in file: inline evaluation of: `` import java.awt.*; import java.awt.image.*; import java . . . '' : BufferedImage bufferimg = newimg ( false ) Called from method: newimg : at Line: 42 : in file: inline evaluation of: `` import java.awt.*; import java.awt.image.*; import java . . . '' : newimg ( false ) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at org.zkoss.lang.Classes.newInstance(Classes.java:77) at org.zkoss.lang.Exceptions.wrap(Exceptions.java:164) at org.zkoss.zk.ui.UiException$Aide.wrap(UiException.java:51) at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:136) at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:343) at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:969) ... |