M4tt
39 5

I got an annoying error from Radio. Here is an example:

Zul:

<radiogroup id="rg">


Java

(String) ((Radio) event.getTarget()).getValue()


It will throw a NoSuchMethodError every time when it invokes getValue().

SEVERE: >>java.lang.NoSuchMethodError: org.zkoss.zul.Radio.getValue()Ljava/lang/String;


I did clean and rebuild the .war file, then re-deploy. It didn't work. I deleted all the cache files in tomcat and deleted anything in webapps,then re-deployed my web project. It didn't work.

It happens only on the linux OS for now, I can't reproduce this error on my Windows. It happens both on CentOS 5.5 and Fedora 7 with tomcat 7 and tomcat 6. And I tried to build it with zkee 6.5.1 and 6.5.2, got the same error.

delete retag edit

### The question has been closed for the following reason "the question is answered, right answer was accepted"by benbai close date 2013-06-27 10:28:11

Can you attached war file some othersite so that i can test in my Linux OS

( 2013-05-23 13:22:46 +0800 )edit

Sadly, I failed to reproduce this error with a simple web project... I have no clue what to do, maybe I'll try downgrade to 6.5 or earlier.

( 2013-05-24 08:50:31 +0800 )edit

After I downgraded to 6.0.2 the error has gone. I tried 6.5.2,6.5.1,6.5 before that. I know that I provided too little information about this, so ... Thanks anyway.

( 2013-05-24 09:11:21 +0800 )edit