Captain Kidd
Captain Kidd

Reputation: 1283

Execute maven plugin goal jetty:run on Intellij error: "Permission denied"

I'm developing a multi-module maven project. I'd like to develop that project on Ubuntu environment with IntelliJ. When I execute maven goal "jetty:run" with Intellij maven plugin, the console give me error information "permission denied" and Fail.

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: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 [email protected]:80 java.net.SocketException: Permission denied

Upvotes: 1

Views: 2191

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402035

Jetty is configured to use port 80, which is not allowed if you are not running as root. Try to change the port to something above 1024 in the configuration.

Upvotes: 3

Related Questions