0

我已经尝试了很多,但在进行一些更新后未能获得源代码的最新编译的.class文件。该项目给出的响应与旧源文件中的响应相同。JSP 文件的更新会立即得到反映,但对于 Java 文件则不然。

J2EE 项目
Eclipse Juno
jetty-6.1.x

Jul 15, 2013 1:04:57 PM com.google.apphosting.utils.config.AppEngineWebXmlReader      readAppEngineWebXml
INFO: Successfully processed C:\Users\Atul Dwivedi\git\careeryantra\war\WEB-INF/appengine-web.xml
Jul 15, 2013 1:04:58 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:\Users\Atul Dwivedi\git\careeryantra\war\WEB-INF/web.xml
Jul 15, 2013 1:04:58 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key 'java.util.logging.config.file', valu'C:\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.8.1.1\appengine-java-sdk-  1.8.1.1\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from '    C:\Users\Atul Dwivedi\git\careeryantra\war\WEB-INF\appengine-web.xml'
Jul 15, 2013 1:04:58 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Jul 15, 2013 7:34:59 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
Jul 15, 2013 7:35:01 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@127.0.0.1:8888
Jul 15, 2013 7:35:01 AM com.google.appengine.tools.development.AbstractServer startup
INFO: Server default is running at http://localhost:8888/
Jul 15, 2013 7:35:01 AM com.google.appengine.tools.development.AbstractServer startup
INFO: The admin console is running at http://localhost:8888/_ah/admin
Jul 15, 2013 1:05:01 PM com.google.appengine.tools.development.DevAppServerImpl start
INFO: Dev App Server is now running

较旧的 java 文件一切正常,但在进行更改后,似乎该项目是在较旧的.class文件的基础上运行的。

4

2 回答 2

0

检查您是否选中了项目菜单中的“自动构建”复选框: 在此处输入图像描述

于 2013-07-15T08:16:06.523 回答
0

请转到菜单中的项目并选择清理。然后选择您希望清理考虑的项目。

于 2013-07-15T08:03:45.617 回答