1.禁用updatecheck
在路径: System.getProperty("user.home")
出创建一个文件名称为:".appcfg_no_nag"
可以禁止在启动Appserver时访问ttps://appengine.google.com/api/updatecheck
2.解决jsp编译错误
在使用Eclipse gwt plugin时如果有jsp文件在发布时可能会出现编译无法通过的错误,此时需要在环境变量中加入 CLASSPATH 值中需要添加当前路径 和JDK的lib路径
错误信息:
- Unable to update:
- java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE.
- at com.google.appengine.tools.admin.Application.compileJavaFiles(Application.java:763)
- at com.google.appengine.tools.admin.Application.compileJsps(Application.java:750)
- at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:582)
- at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:370)
- at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
- at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
- at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
- at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
- at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
- ~
阅读(3665) | 评论(0) | 转发(0) |