2017-10-04 104 views
-3

終端錯誤Maven的編譯錯誤ProjectBuildingException

enter image description here 編譯錯誤,同時運行的項目。

第18行錯誤

enter image description here

這行18

+2

http://idownvotedbecau.se/imageofcode。 '10'不是有效的軟件包名稱。 – blafasel

+0

默認情況下爲10。我應該刪除10 – rohit

+1

你應該_rename_'10'到像'chapter10','exercise10'這樣有效的東西。有關程序包命名約定,請參見[Oracle教程](https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html)。 – blafasel

回答

1

Java包名稱應該是小寫字母開頭。 Like something10.platformsample instead of 10.platformsample