2011-03-05 59 views
0

我想建立我的應用程序使用Maven,但它說:什麼是缺少的javaee:javaee-api:jar:5?

Missing: 
---------- 
1) javaee:javaee-api:jar:5 

    Try downloading the file manually from the project website. 

    Then, install it using the command: 
     mvn install:install-file -DgroupId=javaee -DartifactId=javaee-api -Dversion=5 -Dpackaging=jar -Dfile=/path/to/file 

我在哪裏可以下載?

回答

0

下載JDK from Oracle Website

希望這會有所幫助。

+0

我在我的電腦有jdk,但我通過vpn連接到我公司的網絡,當我想用​​maven構建該應用程序時,我認爲它是要求缺少「jar文件」的東西? – kamaci 2011-03-05 19:41:27

0

好像javaee-api V5不在行家中央。它在JBoss maven repository中可用。