Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
onochie ojekwe
Problem deploying Liferay 6.1 theme
20 aprile 2012 4.23
Risposta

onochie ojekwe

Punteggio: New Member

Messaggi: 5

Data di Iscrizione: 8 aprile 2011

Messaggi recenti

I am having trouble seeing the changes i make to my theme. All was working well some time ago until now... I am developing the theme using Eclipse and when i build/deploy, i get the message below on my console. But changes made are not deployed thereafter. I dont fully under Java that much, so if anyone can help, i'l be glad and would really appreciate it.


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
Deleting: C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\dist\COCIS-theme-6.1.0.1.war
Building zip: C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\dist\COCIS-theme-6.1.0.1.war

deploy:
Copying 1 file to C:\Liferay\bundles\deploy
BUILD SUCCESSFUL
Total time: 27 seconds
David H Nebinger
RE: Problem deploying Liferay 6.1 theme
20 aprile 2012 5.07
Risposta

David H Nebinger

Punteggio: Liferay Legend

Messaggi: 4496

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

It almost looks like your bundle is a 6.0 version rather than a 6.1 version...
onochie ojekwe
RE: Problem deploying Liferay 6.1 theme
25 aprile 2012 8.52
Risposta

onochie ojekwe

Punteggio: New Member

Messaggi: 5

Data di Iscrizione: 8 aprile 2011

Messaggi recenti

Thanks David, just noticed that i was stil pointing to my old liferay location. problem resolved. thanks alot
Amit Aggarwal
RE: Problem deploying Liferay 6.1 theme
5 novembre 2012 0.50
Risposta

Amit Aggarwal

Punteggio: Junior Member

Messaggi: 87

Data di Iscrizione: 20 agosto 2010

Messaggi recenti

Hi, I'm running into the same error. I downloaded the latest plugins SDK for 6.1.1 GA2.. I created a test theme using create.sh. I get the following error on building:

Buildfile: /home/oracle/liferay-plugins-sdk-6.1.1/themes/test-theme/build.xml

compile:
Copying 690 files to /home/oracle/liferay-plugins-sdk-6.1.1/themes/test-theme/docroot
Copying 5 files to /home/oracle/liferay-plugins-sdk-6.1.1/themes/test-theme/docroot/templates
Copying 11 files to /home/oracle/liferay-plugins-sdk-6.1.1/themes/test-theme/docroot

war:

build-css:
Exception in thread "main" 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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.liferay.portal.tools.SassToCssBuilder. Program will exit.
Java Result: 1
thumbnail.png does not exist.
Deleting: /home/oracle/liferay-plugins-sdk-6.1.1/dist/test-theme-6.1.1.1.war
Building zip: /home/oracle/liferay-plugins-sdk-6.1.1/dist/test-theme-6.1.1.1.war

BUILD SUCCESSFUL
Total time: 1 second