0

java.lang.ClassNotFoundException: CompressCss

asked 2014-10-09 09:58:10 +0800

rajeshgajipara gravatar image rajeshgajipara
1

Hi , I am facing following issue while compiling less to dsp in zk 7.0.3.

Can anybody help me to solve this issue?

lessc: [echo] base dir is D:\ToolBox\work\zkproject [java] java.lang.NoClassDefFoundError: CompressCss [java] Caused by: java.lang.ClassNotFoundException: CompressCss [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

 [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 [java] Could not find the main class: CompressCss.  Program will exit.
 [java] Exception in thread "main"
 [java] Java Result: 1
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-11 12:59:24 +0800

Darksu gravatar image Darksu
1991 1 4

Hello rajeshgajipara,

Looks like it's a dependency issue. Please check the following url and reconfigure your project in order to include the necessary libs:

http://books.zkoss.org/wiki/ZKStyleCustomizationGuide/IntegratewithLESS/HowZKworkswithLESS/CompileLESS

Best Regards,

Darksu

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
2 followers

RSS

Stats

Asked: 2014-10-09 09:58:10 +0800

Seen: 7 times

Last updated: Oct 11 '14

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