跳到主要内容
CNode

maven 在build 的时候,hung在这里了,有人知道为啥么?知道的请指导一下,谢谢了。

问答
Wwangxuq发布于 11 年前最后回复 11 年前
366800

maven 在build的时候,hung在最后一行了,有人知道为啥么?错误如下:


[root@compute000 ambari-web]# mvn -B clean install -DnewVersion=2.1.0.0 -DskipTests -Dpython.ver="python >= 2.6"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Ambari Web 2.0.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ambari-web ---
[INFO] Deleting /root/wangxu/ambari/ambari-web/target
[INFO] Deleting /root/wangxu/ambari/ambari-web (includes = [**/*.pyc], excludes = [])
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ ambari-web ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (regex-property) @ ambari-web ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-version) @ ambari-web ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-release) @ ambari-web ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ ambari-web ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] No excludes explicitly specified.
[INFO] 8954 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.

查看回复

回复 (3)

L
leapon#311 年前

把你的pom文件贴一下吧。希望有大拿看看。我只用maven,不大会写。

要是我的话,就去掉里面的内容,直到能正常build,再一点一点往回加。

W
wangxuq#211 年前

这个,也不是纯java的题,里面包含了nodejs,npm,brunch,只是用maven来build的。它这个没有error,直接就hung在了warning这块了。

L
leapon#111 年前

Java 的题也在这儿问?

光是warning,没看到error额

参与回复

登录后即可参与回复。登录