0

problem while using tablelayout in zk 7

asked 2014-09-17 08:27:26 +0800

shraddhadixit89 gravatar image shraddhadixit89
1 1

updated 2014-09-17 08:37:47 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

I am trying to use tablelayout in zul but facing error java.lang.NoClassDefFoundError: org/zkoss/zul/impl/api/XulElement.
I am new to ZK framework and I am using its latest version.
Tried importing zkmax.jar but it does work for me.

Here is the sample code:

<tablelayout columns="2">
    <tablechildren>
        <panel title="Table 1" border="normal" maximizable="true"
        collapsible="true" width="200px" height="200px">
            <panelchildren>Panel Content</panelchildren>
        </panel>
    </tablechildren>
</tablelayout>
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-17 08:46:11 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

updated 2014-09-17 08:50:53 +0800

XulElement is normally under zul-x.x.x.jar.

Example :

zul.6.5.3.jar contains org.zkoss.zul.impl.XulElement.
As you can see its on another path. Same for zk 7.x.x => http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/impl/XulElement.html

Now you have clashing dependencies, where a version of zul is to high for another dependencie.
For further help I need to know what zk jars you all use.

greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-09-17 08:27:26 +0800

Seen: 8 times

Last updated: Sep 17 '14

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