-
FEATURED COMPONENTS
First time here? Check out the FAQ!
this error is coming while running the application , is there any external java file we need write to invoke init method or is there anything by default that i am missing.
Hello PKSingh,
The best thing to do is to review again your code based on a good example as shown below:
http://www.zkoss.org/zkdemo/getting_started/mvvm
Most probably you have not set correctly the init.
i.e @init('demo.getting_started.mvvm.SearchViewModel')
If you still have problems, please post your code and any log files available.
Best Regards,
Darksu
Your fault is actually because you have a fault in zk.xml.
The max-upload-size
is set wrong.
Normally this should be like this :
<zk>
...
<system-config>
...
<max-upload-size>5120</max-upload-size>
</system-config>
</zk>
Check if it's under the correct tag, the system-config
.
Greetz chill.
Asked: 2015-05-19 10:52:07 +0800
Seen: 16 times
Last updated: May 21 '15
Faults can be searched when you have at least a stacktrace. It should be even better to include the code where it comes from.
chillworld ( 2015-05-19 11:19:40 +0800 )editSEVERE: Unknown element: max-upload-size, at [SYS jndi:/localhost/PATS/WEB-INF/zk.xml line 18 col 19] May 21, 2015 11:04:11 AM org.zkoss.zkex.init.WebAppInit init:29 WARNING: This is an evaluation copy of ZK EE and will terminate after sixty days from the first date of installation. Should you requi
PKSingh ( 2015-05-21 07:28:29 +0800 )edit<?xml version="1.0" encoding="UTF-8"?> is there any need to change version in zk.xml file i have given the version related code in the xml.
PKSingh ( 2015-05-22 08:09:37 +0800 )edit