mvn test命令显示构建失败,错误代码为9667

时间:2017-09-04 11:50:10

标签: maven selenium

我的'maven test'命令运行完美,并在eclipse中显示为Build成功。但是当我在我的cmd提示符中尝试相同时,它会显示构建失败,错误代码为9667,并且谷歌没有显示任何原因。任何人都可以帮助我摆脱它。

from Tkinter import *

def message():
    m_root = Tk()

    entry_value = StringVar()

    m_label = Label(m_root, text="message")
    m_label.pack()

    frame1 = Frame(m_root)
    frame1.pack()
    frame2 = Frame(m_root)
    frame2.pack()

    entry_box = Entry(frame1, width=30, bd=5)
    entry_box.pack()

    button1 = Button(frame2, text="Comment")
    button1.pack(side="left")

    m_root.mainloop()

root = Tk()

root.geometry('150x30+1+1')
root.wm_attributes("-topmost", True)

comment_button = Button(root, text="Comment", command = message, bg="gray", width=10)
comment_button.pack(anchor=CENTER)

root.mainloop()

我的pom.xml文件如下所述。我的pom.xml文件中没有看到任何问题。

merge(itemList, name)

但是mvn -version和实际的java_home中提到的java_home是不同的。阅读以下代码。如果是问题区域,我该如何改变呢。

D:\eclipse-workspace\SimpleMavenProj>mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DemoMavenProj 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for cglib:cglib-nodep:jar:3.2.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-logging:commons-logging:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.google.code.gson:gson:jar:2.8.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.313 s
[INFO] Finished at: 2017-09-04T16:53:53+05:30
[INFO] Final Memory: 7M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] 9667
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

0 个答案:

没有答案