ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

The type org.zkoss.lang.SystemException cannob be resolved. It is indirectly referenced

dvdigital
1 Sep 2010 16:30:19 GMT
1 Sep 2010 16:30:19 GMT

Hi,

We have a ZK project currently on 3.6.4, I've downloaded zk 5.0.4 eval with zkee. I replaced the version in my pom to point to the latest. After mvn package I get:

The type org.zkoss.lang.SystemException cannot be resolved. It is indire
ctly referenced from required .class files
Unhandled exception type ComponentNotFoundException
Unhandled exception type WrongValueException

What's happening?

THanks

SimonPai
1 Sep 2010 19:52:22 GMT
1 Sep 2010 19:52:22 GMT

Hi dvdigital,

The unhandled exception could happen because some methods now throw these Exceptions in ZK5 but not in ZK 3.6, but this is just my guess.
There are a few articles regarding to upgrading issue: small talk, ZK 5 Upgrade Note, a forum thread.

Regards,
Simon

dvdigital
2 Sep 2010 12:13:23 GMT
2 Sep 2010 12:13:23 GMT

Thanks for the response, but none of those notes help me. I don't understand where the org.zkoss.lang.SystemException comes from. Its not in any of the jars.

SimonPai
2 Sep 2010 20:12:31 GMT
2 Sep 2010 20:12:31 GMT

Hmm, this class should come with zcommon.jar. Maybe you are missing this jar?

Simon

dvdigital
3 Sep 2010 12:54:18 GMT
3 Sep 2010 12:54:18 GMT

Simon, I figured it out thanks. We have a local maven repo and a wrong jar was uploaded in there under the zcommon :) sorry !!

SimonPai
5 Sep 2010 21:10:03 GMT
5 Sep 2010 21:10:03 GMT

dvdigital,

No problem. Glad to know it works for you now. :)

Regards,
Simon