0

Newby: Failure to find org.zkoss.image

asked 2014-11-10 23:55:24 +0800

smirnoff gravatar image smirnoff
1

Hi

I am trying to add zkoss to the pom.xml

I cannot seem to get this working. I have this error:

Failed to execute goal on project data-access-portal: Could not resolve dependencies for project XXXXXXXXXXX:war:2.3.12-SNAPSHOT: The following artifacts could not be resolved: org.zkoss.image:zkplus:jar:7.0.3.1, org.zkoss.us:zkplus:jar:7.0.3.1: Failure to find org.zkoss.image:zkplus:jar:7.0.3.1 in http:||mavensync.zkoss.org||maven2 was cached in the local repository, resolution will not be reattempted until the update interval of ZK CE has elapsed or updates are forced -> [Help 1]

I have added:

<repository> <id>ZK CE</id> <name>ZK CE Repository</name> <url>http:||mavensync.zkoss.org||maven2</url> </repository>

And dependency

<dependency> <groupid>org.zkoss.image</groupid> <artifactid>zkplus</artifactid> <version>7.0.3.1</version> </dependency>

I also installed ZK studio

Any suggestions?

delete flag offensive retag edit

Comments

If I remove the repository from pom I get: error: package org.zkoss.image does not exist

smirnoff ( 2014-11-11 00:49:22 +0800 )edit

I have added Preferences->Maven->ZK Maven Achetype as well.

smirnoff ( 2014-11-11 00:50:10 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-11 09:49:31 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2014-11-11 09:53:29 +0800

Hi Smirnoff,

it exists NO 7.0.3.1 version in the repository. Take the 7.0.3 version. Beside that there's no artifact named 'org.zkoss.image'. Image is a component from the zul package. Take only the dependencies below and all is in there.

<properties>
    <!-- ZK framework -->
    <zk.ce.version>7.0.3</zk.ce.version>
    <zk.ee.version>7.0.3-Eval</zk.ee.version>
</properties>


<!-- ===================== Repositories ===================== -->
<repositories>

    <!-- Standard Apache Maven repository -->
    <repository>
        <id>Standard Maven repository</id>
        <url>http://repo1.maven.org/maven2</url>
    </repository>

    <!-- ZK CE repository -->
    <repository>
        <id>ZK CE</id>
        <name>ZK CE Repository</name>
        <url>http://mavensync.zkoss.org/maven2</url>
    </repository>

    <!-- ZK EE / eval repository -->
    <repository>
        <id>ZK EVAL</id>
        <name>ZK Evaluation Repository</name>
        <url>http://mavensync.zkoss.org/eval</url>
    </repository>
</repositories>


<!-- ===================== Dependencies ===================== -->
<dependencies>

    <!-- ZK framework -->
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zk</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zul</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zhtml</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.common</groupId>
        <artifactId>zweb</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkplus</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkbind</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.common</groupId>
        <artifactId>zcommon</artifactId>
        <version>${zk.ce.version}</version>
    </dependency>
</dependencies>

best Stephan

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-11-10 23:55:24 +0800

Seen: 32 times

Last updated: Nov 11 '14

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