简体   繁体   English

Appengine Maven Project在本地服务器问题上以wtp运行

[英]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

Do you have m2e-wtp installed? 您安装了m2e-wtp吗? It handles web assets being updated in a running container (including the devserver through GPE ). 它处理正在运行的容器(包括通过GPE的devserver)中正在更新的Web资产。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带WTP的多模块Maven2项目 - Multi Module Maven2 Project with WTP (问题已解决)(Maven运行配置)在本地tomcat服务器中更改java项目 - (Problem Solved)(Maven run configuration)change java project in local tomcat server Maven:使用依赖项将本地项目部署到远程服务器 - Maven : Deploy Local Project to Remote Server with dependencies Jenkins CI服务器中的Maven Project问题 - Issue with Maven Project in Jenkins CI server Maven或Ant用于自动部署并在远程服务器上运行项目 - Maven or Ant for autodeploy and run project on remote server Spring工具套件中的服务器上未运行Maven项目 - Maven project is not run on server in Spring tool suite 如何在本地 tomcat 上运行 spring 启动 maven 项目 - How to run spring boot maven project on local tomcat 崇高设置,以运行带有tomcat 7本地主机的Maven项目 - sublime set up, to run a maven project with a tomcat 7 local host 如何从本地maven项目运行jmeter方案(.jmx文件)? - how to run jmeter scenario (.jmx file) from local maven project? Maven 项目:能够单独运行测试,但无法使用 Maven 测试运行整个项目 - 0 场景 0 步骤问题 - Maven project: able to run test seperately but unable to run whole project with Maven tests - 0 scenario 0 steps issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM