我有一个使用 maven-archetype-webapp 创建的 maven 项目。当我在 Windows 机器上使用时,Maven 生成的项目有一个“在服务器上运行”,但是当我在 Linux 机器上创建它时,它没有。请告诉我如何启用它。
谢谢
最佳答案
那个 eclipse 有没有 WTP plugin installed ?
作为这个page on WTP-Maven integration illustrates , 在服务器上运行需要 WTP。
另请参阅“Maven Integration for Eclipse/ Integration with WTP / WTP mini howto”
如果您在另一个 Eclipse 上有 WTP,check other causes in this SO question .
关于java - eclipse:在服务器上运行消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3324819/