简体   繁体   English

执行maven插件目标jetty:运行Intellij错误:“权限被拒绝”

[英]Execute maven plugin goal jetty:run on Intellij error: “Permission denied”

I'm developing a multi-module maven project. 我正在开发一个多模块的Maven项目。 I'd like to develop that project on Ubuntu environment with IntelliJ. 我想用IntelliJ在Ubuntu环境下开发该项目。 When I execute maven goal "jetty:run" with Intellij maven plugin, the console give me error information "permission denied" and Fail. 当我使用Intellij maven插件执行maven目标“ jetty:run”时,控制台会向我显示错误信息“ permission否认”和“失败”。

2011-12-16 16:55:46.371::INFO: jetty-6.1.15 2011-12-16 16:55:46.588::INFO: No Transaction manager found - if your webapp requires one, please configure one. 2011-12-16 16:55:46.371 :: INFO:jetty-6.1.15 2011-12-16 16:55:46.588 :: INFO:没有找到交易经理 - 如果您的网络应用需要一个,请配置一个。 2011-12-16 16:55:48.684:/:INFO: Initializing Spring FrameworkServlet 'flamingo' 2011-12-16 16:55:50,068 INFO [com.jje.flamingo.extend.JPropertiesConfigurer] - Loading properties file from class path resource [domain.properties] 2011-12-16 16:55:52.912::WARN: failed SelectChannelConnector@0.0.0.0:80 java.net.SocketException: Permission denied 2011-12-16 16:55:48.684:/:INFO:初始化Spring FrameworkServlet'flamingo'2011-12-16 16:55:50,068 INFO [com.jje.flamingo.extend.JPropertiesConfigurer] - 从类路径加载属性文件resource [domain.properties] 2011-12-16 16:55:52.912 :: WARN:失败SelectChannelConnector@0.0.0.0:80 java.net.SocketException:权限被拒绝

Jetty is configured to use port 80, which is not allowed if you are not running as root. Jetty配置为使用端口80,如果您没有以root用户身份运行,则不允许使用该端口。 Try to change the port to something above 1024 in the configuration. 尝试在配置中将端口更改为1024以上的值。

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

相关问题 mvn + jetty错误:无法执行目标org.eclipse.jetty:jetty-maven-plugin: - Error with mvn+jetty: Failed to execute goal org.eclipse.jetty:jetty-maven-plugin: 通过 IntelliJ 运行 Maven 任务:Maven 资源插件权限被拒绝 - Run maven task thru IntelliJ: Maven resources plugin permission denied 无法执行目标org.apache.maven.plugins(权限被拒绝) - Failed to execute goal org.apache.maven.plugins (permission denied) Maven的码头插件码头:运行错误 - maven-jetty-plugin jetty:run error Maven Surefire 插件无法执行目标错误 - Maven Surefire Plugin Failed to Execute Goal Error Jetty Maven 插件(jetty:run 目标)+ Weld CDI + JSF 2.2 = ViewScoped bean 上的 NPE - Jetty Maven plugin (jetty:run goal) + Weld CDI + JSF 2.2 = NPE on ViewScoped beans netbeans运行错误:无法执行目标org.codehaus.mojo:exec-maven-plugin:1.2.1 - netbeans Run error :Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1 无法为 Intellij 中的 Maven 项目执行目标 org.apache.maven.plugins:maven-surefire-plugin - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin for a maven project in Intellij exec-maven-plugin 无法执行 .sh 脚本:权限被拒绝 - exec-maven-plugin cannot execute .sh script: permission denied 未能在 apache maven IntelliJ Idea 中执行目标 - Failed to execute goal in apache maven IntelliJ Idea
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM