Foros de discusión
package com.liferay.mozilla.javascript does not exist
Sam Wan, modificado hace 13 años.
package com.liferay.mozilla.javascript does not exist
Liferay Master Mensajes: 660 Fecha de incorporación: 3/03/09 Mensajes recientes
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 hace 13 años.
RE: package com.liferay.mozilla.javascript does not exist
Liferay Master Mensajes: 660 Fecha de incorporación: 3/03/09 Mensajes recientes
Hi, anyone got a quick answer for what jar file does com.liferay.mozilla.javascript belongs to?
Thanks
Sam
Thanks
Sam
Sam Wan, modificado hace 13 años.
RE: package com.liferay.mozilla.javascript does not exist
Liferay Master Mensajes: 660 Fecha de incorporación: 3/03/09 Mensajes recientes
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 hace 13 años.
RE: package com.liferay.mozilla.javascript does not exist
Liferay Master Mensajes: 758 Fecha de incorporación: 27/09/07 Mensajes recientes
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 hace 12 años.
RE: package com.liferay.mozilla.javascript does not exist
New Member Mensaje: 1 Fecha de incorporación: 16/03/12 Mensajes recientes
I may be misunderstanding here, but shouldn't this package be listed in the API?