# Upgraded to 3.05 from 3.04 - several issues

18691 1 10 129

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5023532

By: ansancle

I upgraded from 3.05 from 3.04, I simply replaced the libraries in my build path and in my packaging with .05 from .04, changed nothing else. I know get
2 deployment errors and none of my onClick handlers are working anymore.

DEPLOYMENT ERROR 1 ;
I get the following error on deployment even though the jasperreports.jar is DEFINITELY included in the packaging :

10:14:45,984 INFO deploy, ctxPath=/dhuidatabase, warUrl=file:/var/tmp/jboss-bin-4/localhost/digitalhome/deploy/tmp38166com.dh.ui.
database.app.ear-contents/com.dh.ui.database.web-exp.war/
10:14:48,583 ERROR Jun 10, 2008 10:14:48 AM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:448
WARNING: Component jasperreport ignored. Reason: unable to load org.zkoss.zkex.zul.Jasperreport.
[SYS jar:file:/var/tmp/jboss-bin-4/localhost/digitalhome/deploy/tmp38166com.dh.u
i.database.app.ear-contents/com.dh.ui.database.web-exp.war/WEB-INF/lib/zkex.jar!
>>java.lang.NoClassDefFoundError:
>>net/sf/jasperreports/engine/JRDataSource
>> at java.lang.Class.forName0(Native Method) at
>>java.lang.Class.forName(Class.java:242)
>> at
>>rs.j
ava:532)
>> at
>> s.jav
a:446)
>>...

NEXT DEPLOYMENT ERROR:

I get the following deployment error as well :

10:14:49,004 INFO Started J2EE application:
file:/opt/jboss-bin-4/server/digitalhome/deploy/com.dh.ui.database.app.ear
10:20:07,198 ERROR Jun 10, 2008 10:20:07 AM org.zkoss.zk.au.http.DHtmlUpdateServlet
init:161
>>java.lang.NoClassDefFoundError:
>> at
>>57) at
1105)
>> at
>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
>> a:757
)

The commons-fileupload.jar is DEFINITELY in the packaging.

Also,
NONE of my onClick handlers for my buttons work anymore, I get the following error :

0:20:19,999 ERROR Jun 10, 2008 10:20:19 AM org.zkoss.zk.ui.impl.UiEngineImpl
handleError:863
SEVERE: >>org.zkoss.zk.ui.UiException: Sourced file: inline evaluation
of: findmessagetemplates.findButtonClickHandler();'' : Attempt to resolve
method: findButtonClickHandler() on undefined variable or class name:
findmessagetemplates : at Line: 1 : in file: inline evaluation of:
findmessagetemplates.findButtonClickHandler();'' : findmessagetemplates .findButtonClickHandler ( )

>>Sourced file: inline evaluation of:
findmessagetemplates.findButtonClickHandler();'' : Attempt to resolve method:
findButtonClickHandler() on undefined variable or class name: findmessagetemplates
: at Line: 1 : in file: inline evaluation of:
findmessagetemplates.findButtonClickHandler();'' : findmessagetemplates .findButtonClickHandler ( )
>>
>> at bsh.UtilEvalError.toEvalError(Unknown Source) at
>> bsh.UtilEvalError.toEvalError(Unknown Source) at
>> bsh.BSHMethodInvocation.eval(Unknown Source)

Again, all of this worked perfectly under 3.04, I poked around the install for
3.05 and can't find what I may have failed to do.

Help appreciated.

delete retag edit

## 2 Replies

18691 1 10 129

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5055790

By: ansancle

I just tried to upgrade from 3.04 to 3.06 and I get the same errors, HELP!!!!!
I don't want to be stuck on 3.04, I really want to keep pace with the newest version but this is really causing a problem.

Thanks.

18691 1 10 129

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5055891

By: ansancle

I finally figured out what was going on. When I was building my application I was able to include all the required libraries in my build path from the ext and zkforge directories of the distribution, so I didn't get any errors during compilation. But when was packaging my war file with the zk libraries, I was only including the lib directory, not the libraries from the ext or zkforge directory. Once I added the necessary libraries from these subdirectories the errors went away.
Dumb mistake but frustrating to figure out.

[hide preview]