-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
Your answer here:
http://stackoverflow.com/questions/19094554/library-property-org-zkoss-zul-chart-engine-class-required
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
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.
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
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>
Asked: 2014-03-16 14:24:18 +0800
Seen: 88 times
Last updated: Apr 09 '14