[英]Appengine Maven Project run as wtp on local server issue
i have been trying to run a maven project as dynamic web project in local server to get hot re-deployment feature, which is currently not available appengine maven plugin with eclipse 我一直试图在本地服务器中将maven项目作为动态Web项目运行,以获取热重新部署功能,目前尚无法使用带有eclipse的appengine maven插件
i referred : https://developers.google.com/appengine/docs/java/webtoolsplatform 我提到了: https : //developers.google.com/appengine/docs/java/webtoolsplatform
this project works fine when running using mvn:appengine devserver command, but we i tried to run on local server, i get the following error 使用mvn:appengine devserver命令运行时,该项目工作正常,但是我们尝试在本地服务器上运行,但出现以下错误
Error occurred during initialization of VM VM初始化期间发生错误
agent library failed to init: instrument 代理程式库无法初始化:instrument
Error opening zip file or JAR manifest missing : /Volumes/My 打开zip文件或JAR清单丢失时出错:/ Volumes / My
any idea what this error means? 知道这个错误是什么意思吗?
Note: the ultimate goal was to some how synchronous changes in src war folder to be present in target directory to avoid stopping and starting server for every changes 注意: 最终目标是确定如何在目标目录中出现src war文件夹中的同步更改,以避免每次更改都停止和启动服务器
any solutions to solve this issue is most welcome! 任何解决此问题的解决方案都非常欢迎!
Thanks 谢谢
To answer the ultimate goal, mvn appengine:devserver
already supports reloading: 为了实现最终目标, mvn appengine:devserver
已经支持重新加载:
When the server is running, it continuously checks to determine whether appengine-web.xml has changed. 服务器运行时,它将连续检查以确定appengine-web.xml是否已更改。 If it has, the server does a hot reload of the application. 如果有,服务器将对应用程序进行热重载。 This means that you do not need to stop and restart your application because of changes to appengine-web.xml 这意味着由于对appengine-web.xml的更改,您无需停止并重新启动应用程序
https://developers.google.com/appengine/docs/java/tools/maven#managing_and_running_a_project_with_the_app_engine_maven_plugin https://developers.google.com/appengine/docs/java/tools/maven#managing_and_running_a_project_with_the_app_engine_maven_plugin
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.