简体   繁体   English

安装和运行Maven项目

[英]Installing and running a maven project

After 2 days searching around the web for tutorials on running maven on intellij , I didn't find much and all the tutorial I tried returned some error , 在网上搜寻了两天有关在intellij上运行maven的教程后,我没有发现太多,我尝试过的所有教程都返回了一些错误,

So can someone give me a step by step installation process on how to install maven on mac OS 10.10 using intellij and running a sample project using the maven pom file. 因此,有人可以逐步指导我如何在Mac OS 10.10上使用intellij安装maven,以及如何使用maven pom文件运行示例项目。

I believe this will help many others including me 我相信这会帮助包括我在内的许多其他人

after running : 运行后:

sudo mvn clean install sudo mvn全新安装

The error i received is 我收到的错误是

Error:java: directory not found: /Users/stingray/Documents/workspace/jreddit/target/generated-sources/annotations 错误:java:找不到目录:/ Users / stingray / Documents / workspace / jreddit / target / generated-sources / annotations

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM