1

Library property, org.zkoss.zul.chart.engine.class, required

asked 2014-03-16 14:24:18 +0800

mrusli gravatar image mrusli
21 1

updated 2014-03-16 15:13:15 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

Hi, the error message: 'Library property, org.zkoss.zul.chart.engine.class, required' when I include the 'charts' component in the zul:

<?page title="Index" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="Index" border="normal">
    <label id="greetingLabel" value="Greeting - New Content Here!"/>
    <chart />
</window>
</zk>

Please assist what should I do? According to info, must use ZK EE PE, but currently not working in the pom.xml.

Thanks and Best Regards, Rusli

delete flag offensive retag edit

5 Answers

Sort by » oldest newest most voted
0
link publish delete flag offensive edit

Comments

Ok. Looks like I can add the <repository> tag now without getting the IndexOutOfBound exception when I deploy the war into the tomcat. I follow the example in the demo:

mrusli ( 2014-03-16 15:53:57 +0800 )edit
0

answered 2014-03-16 15:57:30 +0800

mrusli gravatar image mrusli
21 1

Ok. Looks like I can add the <repository> tag now without getting the IndexOutOfBound exception when I deploy the war into the tomcat. I follow the example in the demo:

<window title="Index" border="normal"> <charts/> </window>

I also added the charts dependency as you suggested earlier:

<dependency> <groupid>org.zkoss.chart</groupid> <artifactid>zkcharts</artifactid> <version>1.0.0-BETA</version> </dependency>

I now got: Component definition not found: charts in ...

Please assist further. Need to get the chart working.

Thanks and Regards, Rusli

link publish delete flag offensive edit
0

answered 2014-03-17 03:17:17 +0800

RaymondChao gravatar image RaymondChao
386 1 4
ZK Team

updated 2014-03-17 03:28:20 +0800

Hi mrusli,

Which chart do you want to use, JFree Chart or ZK Charts? If you want to try ZK Charts, could you tell me what ZK version are you using? ZK Charts requires ZK 7.0.1 version or later. If your project's ZK version is older than 7.0.1, please update to 7.0.1 and try again.

link publish delete flag offensive edit
0

answered 2014-04-08 16:08:24 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Hello

I have used the following in my POM file. I have already have license of ZK EE and PE

<dependency> <groupid>org.zkoss.chart</groupid> <artifactid>zkcharts</artifactid> <version>1.0.0-BETA</version> </dependency>

But i am getting the following error Description Resource Path Location Type ArtifactDescriptorException: Failed to read artifact descriptor for org.zkoss.chart:zkcharts:jar:1.0.0-BETA: ArtifactResolutionException: Failure to transfer org.zkoss.chart:zkcharts:pom:1.0.0-BETA from http://oss.jawsy.fi/maven2/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of jawsy-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.zkoss.chart:zkcharts:pom:1.0.0-BETA from/to jawsy-releases (http://oss.jawsy.fi/maven2/releases/): null to http://oss.jawsy.fi/maven2/releases/org/zkoss/chart/zkcharts/1.0.0-BETA/zkcharts-1.0.0-BETA.pom pom.xml /Healthcare line 1 Maven Dependency Problem

link publish delete flag offensive edit
1

answered 2014-04-09 03:00:04 +0800

RaymondChao gravatar image RaymondChao
386 1 4
ZK Team

Hello

I'm sorry forgot to the mention that the 1.0.0-BETA version is temporarily put in ZK PE-eval / EE- eval maven repository only. Please remove the ZK Charts local library folder in the local Maven repository, then add the following config and update again. If there are any problems, please let me know.

<repositories>
    <repository>
        <id>ZK PE/EE Evaluation</id>
        <url>http://mavensync.zkoss.org/eval/</url>
    </repository>
</repositories>
link publish delete flag offensive edit

Comments

Yes you are right

Senthilchettyin ( 2014-04-09 06:05:52 +0800 )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-03-16 14:24:18 +0800

Seen: 88 times

Last updated: Apr 09 '14

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