Failed to execute goal org.mortbay.jetty:maven-jetty-plugin

pangjingji 2012-04-28 06:01:05
ERROR] Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.24:run (default-cli) on project aas-portal-web: Webapp source directory D:\DEV_All_V0.7\workspace\aas\aas-portal-web\src\main\webapp does not exist -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
...全文
5952 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
吕若雨 2021-07-28
  • 打赏
  • 举报
回复
        <plugin>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-maven-plugin</artifactId>
            <version>9.4.5.v20170502</version>
            <configuration>
                <scanIntervalSeconds>10</scanIntervalSeconds>
                <httpConnector>
                    <port>8080</port>
                </httpConnector>
                <webApp>
                    <contextPath>/bucket</contextPath>
                </webApp>
            </configuration>
        </plugin>
吕若雨 2021-07-28
  • 举报
回复
@吕若雨 在pom文件中用这个依赖
指尖流年999 2014-04-30
  • 打赏
  • 举报
回复
“需要修改webApp的位置就可以了”。。。。怎么修改啊?
platona_boy 2013-06-26
  • 打赏
  • 举报
回复
使用jetty:run-war 原来jetty:run-war会默认打包应用程序,然后执行部署${project.build.directory}/${project.build.finalName}.war。只需要修改webApp的位置就可以了
vbubble 2013-04-07
  • 打赏
  • 举报
回复
端口
cy_wjc 2012-10-09
  • 打赏
  • 举报
回复
用的不是8080端口呢?为什么还出现这个问题?
tianshangfanxin 2012-07-12
  • 打赏
  • 举报
回复
我也遇到这样的问题,之前是可以启动的,后来就不行了,原来是我的tomcat将8080端口占用了,停掉tomcat之后问题就解决了,不知道你的是不是这个原因,希望对你有帮助。
sjmhai 2012-06-29
  • 打赏
  • 举报
回复
我也遇到这个问题了。。。
超级斗士 2012-05-28
  • 打赏
  • 举报
回复
碰到相同问题了,求解啊

5,655

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧