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