iT邦幫忙

0

<問題>關於mvn打包的出現error

連結:
https://ithelp.ithome.com.tw/articles/10234030
https://github.com/elastic/opbeans-java

請問下,我依照文中步驟做下來,因為第4個步驟spring test不會過。想說是官方的包應該沒問題,就直接用mvn install -Dskip Tests的方式跳過驗證進行打包。結果在第8步時,網站起不來。
回頭重新檢視,在第4步用mvn package -X撈到下面這個error message,但摸不著頭緒該怎麼解決
[ERROR] OpbeansApplicationTests.contextLoads » IllegalState Failed to load Application...

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project opbeans: There are test failures.

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答