Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ajay Bansal
Problem in direct deploy for portlet
March 31, 2013 11:27 PM
Answer

Ajay Bansal

Rank: New Member

Posts: 15

Join Date: March 22, 2013

Recent Posts

When i am deploying the portlet project. I am getting this exception


build-css:
java.lang.NoClassDefFoundError: com/liferay/portal/tools/SassToCssBuilder
Caused by: java.lang.ClassNotFoundException: com.liferay.portal.tools.SassToCssBuilder
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.liferay.portal.tools.SassToCssBuilder. Program will exit.
Exception in thread "main"
Java Result: 1
compile:
Bart Simpson
RE: Problem in direct deploy for portlet
March 31, 2013 11:38 PM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 524

Join Date: August 29, 2011

Recent Posts

this class is from portal-impl, you can't use classes in your custom projects that belong to portal impl