Fórum
package com.liferay.mozilla.javascript does not exist
Sam Wan, modificado 13 Anos atrás.
package com.liferay.mozilla.javascript does not exist
Liferay Master Postagens: 660 Data de Entrada: 03/03/09 Postagens Recentes
Hi,
With liferay EE SP4 and its plugin-sdk, I got the following error when I am executing "ant deploy":
Your suggestion of solving this error is highly appreciated/
Thanks
Sam
With liferay EE SP4 and its plugin-sdk, I got the following error when I am executing "ant deploy":
merge:
compile-java:
[javac] Compiling 4 source files to C:\liferay-ee-sp4\plugins\portlets\hello-world-portlet\docroot\WEB-INF\classes
[javac] C:\liferay-ee-sp4\plugins\portlets\hello-world-portlet\docroot\WEB-INF\src\com\xyz\myco\contact_us\util\WebFormUtil.java:18: package com.liferay.mozilla.javascript does not exist
[javac] import com.liferay.mozilla.javascript.Context;
[javac] ^
[javac] C:\liferay-ee-sp4\plugins\portlets\hello-world-portlet\docroot\WEB-INF\src\com\xyz\myco\contact_us\util\WebFormUtil.java:19: package com.liferay.mozilla.javascript does not exist
[javac] import com.liferay.mozilla.javascript.Scriptable;
[javac] ^
[javac] C:\liferay-ee-sp4\plugins\portlets\hello-world-portlet\docroot\WEB-INF\src\com\xyz\myco\contact_us\util\WebFormUtil.java:20: package com.liferay.mozilla.javascript does not exist
[javac] import com.liferay.mozilla.javascript.ScriptableObject;
[javac] ^
[javac] C:\liferay-ee-sp4\plugins\portlets\hello-world-portlet\docroot\WEB-INF\src\com\xyz\myco\contact_us\util\WebFormUtil.java:188: cannot find symbol
[javac] symbol : class Context
[javac] location: class com.xyz.myco.contact_us.util.WebFormUtil
[javac] Context context = Context.enter();
Your suggestion of solving this error is highly appreciated/
Thanks
Sam
Sam Wan, modificado 13 Anos atrás.
RE: package com.liferay.mozilla.javascript does not exist
Liferay Master Postagens: 660 Data de Entrada: 03/03/09 Postagens Recentes
Hi, anyone got a quick answer for what jar file does com.liferay.mozilla.javascript belongs to?
Thanks
Sam
Thanks
Sam
Sam Wan, modificado 13 Anos atrás.
RE: package com.liferay.mozilla.javascript does not exist
Liferay Master Postagens: 660 Data de Entrada: 03/03/09 Postagens Recentes
I found something strange is that the util-bridges package is using com.liferay.mozilla package, and the web-forms portlet is using it. I can even deploy the web-forms portlet to liferay ee sp4. But the command find . -name "mozilla" is failed, that mean I cannot find a mozilla package in liferay src tree.
How could this happened?
Thanks
Sam
How could this happened?
Thanks
Sam
Shagul Khajamohideen, modificado 13 Anos atrás.
RE: package com.liferay.mozilla.javascript does not exist
Liferay Master Postagens: 758 Data de Entrada: 27/09/07 Postagens Recentes
The package is part of liferay-rhino.jar. I am not aware of the source location and customization that was done to Rhino.
Alex S, modificado 12 Anos atrás.
RE: package com.liferay.mozilla.javascript does not exist
New Member Mensagem: 1 Data de Entrada: 16/03/12 Postagens Recentes
I may be misunderstanding here, but shouldn't this package be listed in the API?