ข้ามไปที่เนื้อหาหลัก

Your project must be configured to use a JDK in order to use JSPs


Your project must be configured to use a JDK in order to use JSPs   Unknown   Google App Engine Problem
Your project must be configured to use a JDK in order to use JSPs and error when Deploy to App Engine

Unable to update app: Cannot get the System Java Compiler. Please use a JDK, not a JRE.
See the deployment console for more details
Unable to update app: Cannot get the System Java Compiler. Please use a JDK, not a JRE.

------------ Deploying frontend ------------

Preparing to deploy:
Created staging directory at: 'C:\Users\XXX\AppData\Local\Temp\appcfg6354175596654057485.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:\Users\XXX\AppData\Local\Temp\appengine-deploy6341377105080738517.log




How To Fix
Go to Window - Preference - Java - Installed JREs page to specify the location of your jre or JDK.






After press OK, console will display like this:
DataNucleus Enhancer (version 3.1.1) : Enhancement of classesDataNucleus Enhancer completed with success for 0 classes. Timings : input=468 ms, enhance=0 ms, total=468 ms. Consult the log for full detailsDataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details




ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

ปัญหาเปิด Eclipse ไม่ได้ หรือ เปิด Aptana ไม่ได้เพราะหา JRE ไม่เจอ

ใครที่มีปัญหาเปิด Eclipse ไม่ได้ หรือ เปิด Aptana ไม่ได้ ติดปัญหาเกี่ยวกับ Java หา Path ไม่เจอ ลองศึกษาการ ตั้งค่า config ได้ที่ http://wiki.eclipse.org/Eclipse.ini ถ้าใครอ่านแล้วไม่เข้าใจลองดูตัวอย่างด้านล่างได้ ผมขอยกตัวอย่าง กรณีของ Eclipse นะครับ (โดยปกติแล้ว Aptana ก็จะใช้วิธีเดียวกันได้ กรณีแรกเป็นการแก้ไขปัญหาเข้า Eclipse ไม่ได้ แล้วฟ้องว่าหา JRE ไม่เจอ ถ้าติดตั้ง JRE แล้วแต่ก็ยังไม่สามารถเข้าได้แล้วก็ยังฟ้องว่าหาไม่เจออีก ให้เข้าไปแก้ไขไฟล์ eclipse.ini โดยปกติแล้ว ภายในไฟล์จะแสดงประมาณด้านล่างนี้ (แต่ว่าอาจจะมีค่าที่แตกต่างกันได้ขึ้นอยู่กับระบบปฏิบัติการ หรือ Operating System  ที่ใช้อยู่)) กรณีแรกเป็นการแก้ไขปัญหาเข้า Eclipse ไม่ได้ แล้วฟ้องว่าหา JRE ไม่เจอ ถ้าติดตั้ง JRE แล้วแต่ก็ยังไม่สามารถเข้าได้แล้วก็ยังฟ้องว่าหาไม่เจออีก ให้เข้าไปแก้ไขไฟล์ eclipse.ini โดยปกติแล้ว ภายในไฟล์จะแสดงประมาณด้านล่างนี้ (แต่ว่าอาจจะมีค่าที่แตกต่างกันได้ขึ้นอยู่กับระบบปฏิบัติการ หรือ Operating System และ ตัว Eclipse แต่ละ package  ที่ใช้อยู่) -startup plugins/org.eclipse.equ...

How to uninstall TuneUp Utilities when you can't uninstall

How to uninstall TuneUp Utilities when you can't uninstall Someone said... I did everything exactly as your instructions and I'm getting an error when I try to open it in order to type the key serial: The procedure entry point @Tulog@initialization$qqrv could not be located in the dynamic link AppInitialization.bpl. so because of this PC Tune cannot open to finish the registration or getting the same @Tulog@initialization$qqrv message. I cant even uninstall this program now and i dont want it anymore please help... The following tools can help you uninstall TuneUp Utilities Click here to download the TuneUp Remover tool. Run the downloaded file, and then click Continue. Please note that your computer will be restarted. Wait for the tool to restart your computer. TuneUp Utilites will be removed after the restart.