在Google App Engine上部署时部署失败(用于在应用引擎上上传)

时间:2022-05-18 23:09:27

When I run project on local system, project deploy successfully and running properly but when i deploy it to Google App Engine (for upload on google app engine so every one can access site) it's failed. It's show me

当我在本地系统上运行项目时,项目部署成功并正常运行但是当我将其部署到Google App Engine时(在谷歌应用程序引擎上上传以便每个人都可以访问网站)它失败了。它告诉我

------------ Deploying frontend ------------
Preparing to deploy:
    Created staging directory at: 'C:\DOCUME~1\MASTER~1\LOCALS~1\Temp\appcfg8421561925415091473.tmp'
    Scanning for jsp files.
    Compiling jsp files.
java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE.

Debugging information may be found in C:\Documents and Settings\Master - Admin\Local Settings\Temp\appengine-deploy5746895533940558879.log

在Google App Engine上部署时部署失败(用于在应用引擎上上传)

but i am already using jdk, You can see it in below image.

但我已经在使用jdk了,你可以在下图中看到它。

在Google App Engine上部署时部署失败(用于在应用引擎上上传)

Please help me to solve this problem.

请帮我解决这个问题。

1 个解决方案

#1


0  

Successfully deploy project on google App Engine

在Google App Engine上成功部署项目

I just add following line in eclipse shortcut (eclipse.ini)

我只是在eclipse快捷方式中添加以下行(eclipse.ini)

-vm "C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe"

or if you don't like to do this then you can go to run and write following:

或者如果你不喜欢这样做,那么你可以去运行并写下面的内容:

[path]eclipse.exe -vm "C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe"

Note: If 'eclipse.exe -vm ...' directly not work then replace [path] with eclipse path C:\Program Files\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe"

注意:如果'eclipse.exe -vm ...'直接不起作用,那么用eclipse路径C替换[path]:\ Program Files \ eclipse \ eclipse.exe -vm“C:\ Program Files \ Java \ jdk1.7.0_40 \斌\ javaw.exe的”

#1


0  

Successfully deploy project on google App Engine

在Google App Engine上成功部署项目

I just add following line in eclipse shortcut (eclipse.ini)

我只是在eclipse快捷方式中添加以下行(eclipse.ini)

-vm "C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe"

or if you don't like to do this then you can go to run and write following:

或者如果你不喜欢这样做,那么你可以去运行并写下面的内容:

[path]eclipse.exe -vm "C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe"

Note: If 'eclipse.exe -vm ...' directly not work then replace [path] with eclipse path C:\Program Files\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.7.0_40\bin\javaw.exe"

注意:如果'eclipse.exe -vm ...'直接不起作用,那么用eclipse路径C替换[path]:\ Program Files \ eclipse \ eclipse.exe -vm“C:\ Program Files \ Java \ jdk1.7.0_40 \斌\ javaw.exe的”