View Single Post
  #1 (permalink)  
Old 11-27-2008, 06:30 PM
mohaps mohaps is offline
Junior Member
 
Posts: 6
Default [SOLVED] Deploying a Zimlet in Zimbra Desktop

I found this link on deploying a zimlet into Zimbra Desktop (zdesktop_0_91_build_1344_win32):
OpenHack2008 - Zimbra :: Wiki


got this error:

Quote:
C:\WorkArea\MyInstalls\Zimbra\zdesktop>java -cp jetty/lib/log4j-1.2.8.jar:jetty/common/lib/commons-httpclient-3.0.jar:jetty/c
ommon/lib/mail.jar:jetty/common/lib/commons-logging.jar:jetty/common/lib/commons-codec-1.3.jar:jetty/common/lib/json.jar:jett
y/common/lib/dom4j-1.5.jar:jetty/common/lib/zimbracommon.jar:jetty/webapps/service/WEB-INF/lib/zimbrastore.jar -Dzimbra.confi
g=conf/localconfig.xml com.zimbra.cs.zimlet.ZimletUtil deploy zimlets/com_dimdim_zimlet3.zip


Exception in thread "main" java.lang.NoClassDefFoundError: com/zimbra/cs/zimlet/ZimletUtil
Caused by: java.lang.ClassNotFoundException: com.zimbra.cs.zimlet.ZimletUtil
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.zimbra.cs.zimlet.ZimletUtil. Program will exit.

I scanned the jar files in the install directory and the ZimletUtil class is not there. Any ideas as to how to deploy the zimlet into ZDesktop?
__________________
In order to understand recursion, one must first understand recursion.
Reply With Quote