maven 在build 的时候,hung在这里了,有人知道为啥么?知道的请指导一下,谢谢了。
发布于 6 年前 作者 wangxuq 4584 次浏览 最后一次编辑是 4 年前 来自 问答

maven 在build的时候,hung在最后一行了,有人知道为啥么?错误如下: <pre><code> [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.

</code></pre>

3 回复

Java 的题也在这儿问?

光是warning,没看到error额

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

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

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

回到顶部