簡體   English   中英

在Eclipse上運行Google App Engine應用程序時出現HTTP錯誤500

[英]HTTP ERROR 500 while running google app engine application on eclipse

HTTP錯誤500

問題訪問/。 原因:

 java.lang.VerifyError: Expecting a stackmap frame at branch target 51 in method todo.Dao.add(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at offset 5 ...... 

上面提到的是我遇到的錯誤,我嘗試在“窗口->首選項->已安裝的JRE->並添加默認參數”中添加新的默認變量-XX:-UseSplitVerifier。 仍然出現相同的錯誤。 如果有人知道有關此問題的信息,請提供幫助

最好的問候MDG

我已經通過包含一個build.xml文件解決了這個問題

<?xml version="1.0" encoding="UTF-8"?>

<target name="help" description="Lists different targets in the build file">
    <echo>Target             --- Description</echo>
    <echo>------------------------------------------------------</echo>
    <echo>copyjars           --- Copies the App Engine JARs to the WAR</echo>
    <echo>compile            --- Compiles Java source files and copies other source files to the WAR.</echo>
    <echo>datanucleusenhance --- Performs JDO enhancement on compiled data classes.</echo>
    <echo>runserver          --- Starts the development server.</echo>
    <echo>update_indexes     --- Uploads just the datastore index configuration to App Engine.</echo>
    <echo>rollback           --- Rolls back an interrupted application update.</echo>
    <echo>request_logs       --- Downloads log data from App Engine for the application.</echo>
</target>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM