我做了很多但是在进行一些更新后未能获得源代码的最新编译的 .class 文件。该项目的响应与旧的源文件相同。 JSP文件的更新立即反映,但不是Java文件。
J2EE项目
Eclipse Juno
码头-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 文件运行的。
答案 0 :(得分:0)
请转到菜单中的项目并选择清洁。然后选择您希望清洁的项目。
答案 1 :(得分:0)
检查项目菜单中是否选中了“自动构建”复选框: