我想用maven构建我的应用程序,但它显示:
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我在哪里可以下载它?
发布于 2011-03-06 03:46:16
http://download.java.net/maven/1/javaee/jars/
发布于 2011-03-06 03:34:58
下载JDK from Oracle Website。
希望这能有所帮助。
发布于 2011-03-06 03:41:49
您使用的是哪个应用服务器?您可以从应用服务器的lib目录中获取它。对于Glassfish,您可以在http://java.sun.com/javaee/downloads/previous/index.jsp上找到以前的版本
您也可以从netbeans.org上与Netbeans捆绑在一起的Glassfish安装程序中获得它
对于JBoss,请从http://www.jboss.org/jbossas/downloads.html下载5.x版。
https://stackoverflow.com/questions/5206194
复制相似问题