简体   繁体   English

在Eclipse上运行Google App Engine应用程序时出现HTTP错误500

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

HTTP ERROR 500 HTTP错误500

Problem accessing /. 问题访问/。 Reason: 原因:

 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 ...... 

the above mentioned is the error I am getting, I ve tried to add the new default variable -XX:-UseSplitVerifier in " Window -> Preferences -> Installed JREs -> and add the default parameter." 上面提到的是我遇到的错误,我尝试在“窗口->首选项->已安装的JRE->并添加默认参数”中添加新的默认变量-XX:-UseSplitVerifier。 still getting the same error. 仍然出现相同的错误。 Please help if anyone know something regarding this issue 如果有人知道有关此问题的信息,请提供帮助

Best Regards MDG 最好的问候MDG

I have solved the problem by including the a build.xml file 我已经通过包含一个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