开发者

What is missing javaee:javaee-api:jar:5?

I want to built my application with maven but it says:

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

Where can I download it?


download JDK from Oracle Website.

Hope this helps.


Which app server are you using? You could get it from the lib directory of the app server. For Glassfish, you can find previous versions at http://java.sun.com/javaee/downloads/previous/index.jsp

You could also get it from the Glassfish installs bundled with Netbeans at netbeans.org

For JBoss, download version 5.x from http://www.jboss.org/jbossas/downloads.html.


http://download.java.net/maven/1/javaee/jars/


Seems like javaee-api v5 is not on maven central. It's available in the JBoss maven repository.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜