View Single Post
  #1 (permalink)  
Old 09-02-2009, 01:29 PM
dkbk dkbk is offline
Senior Member
 
Posts: 68
Default [SOLVED] zimlet install error

Hi all

I've recently applied a java update (latest - 1.6.0_16-b01) and it seems I can't install (or uninstall) zimlets anymore. Updating zd to 1.03 did not fix the issue.

using the following command from the wiki : java -cp jetty/lib/*;jetty/common/lib/*;jetty/webapps/service/WEB-INF/lib/* -Dzimbra.config=conf/localconfig.xml com.zimbra.cs.zimlet.ZimletUtil deploy zimlets/zimlet_starxpert_save.zip will yield the following error :

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 ex
it.


It worked well enough before so I fail to understand what's happening. I've tried with multiple zimlets with the same results.

Is this a bug caused by a java update or am I missing something here because the same exact syntax worked perfectly last week.
Reply With Quote