Revision history [back]

click to hide/show revision 1
initial version

asked 2013-05-23 11:19:28 +0800

M4tt gravatar image M4tt

NoSuchMethodError with Radio.getValue

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

Zul:

<radiogroup id="rg">
<radio value="0" label="true" selected="true"/>
<radio value="1" label="false"/>
</radiogroup>

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.

Please help, thank you!

NoSuchMethodError with Radio.getValue

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

Zul:

<radiogroup id="rg">
<radio value="0" label="true" selected="true"/>
<radio value="1" label="false"/>
</radiogroup>

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.6. And I tried to build it with zkee 6.5.1 and 6.5.2, got the same error.

Please help, thank you!

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