使用Eclipse GAE运行PhantomJS [英] Run PhantomJS with Eclipse GAE

查看:213
本文介绍了使用Eclipse GAE运行PhantomJS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Eclipse App Engine-JAVA运行PhantomJS时遇到了一个问题。由于我已经在我的环境变量中设置了PhantomJS的路径,所以它与Command Prompt正常工作。请帮助我。

I am facing a problem in running PhantomJS with Eclipse App Engine-JAVA. It is working fine with Command Prompt since I have set the path for PhantomJS in my environment variables. Please help me.

如何将phatomJS放在我的classpath或eclipse中的buildpath中,以便它可以在网络浏览器上使用,因为如果我在我的HTML,是显示未定义变量幻像的错误。

How can I put PhatomJS on my classpath or buildpath in eclipse so that It is available on the web-browser, because if I use the script in my HTML, is shows error that undefined variable phantom.

推荐答案

您不能在Google App Engine中使用PhantomJS。

PhantomJS是一个无头WebKit(具有JavaScript API),用C ++编写。

GAE只支持Java(Java字节代码),Python和GO。

You cannot use PhantomJS with Google App Engine.
PhantomJS is a Headless WebKit (with JavaScript API) it is written in C++.
GAE does only support Java (Java Byte Code), Python and GO.

这篇关于使用Eclipse GAE运行PhantomJS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆