【问题标题】:HTTP ERROR 500 while running google app engine application on eclipse在 Eclipse 上运行谷歌应用引擎应用程序时出现 HTTP ERROR 500
【发布时间】:2011-12-18 10:50:02
【问题描述】:
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并添加默认参数。”仍然得到同样的错误。如果有人知道有关此问题的信息,请提供帮助
最好的问候
千年发展目标
【问题讨论】:
标签:
java
eclipse
google-app-engine
gwt
【解决方案1】:
我已经通过包含 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>