Khi chạy mvn install
về dự án của tôi, tôi nhìn thấy nó thất bại do các lỗi sau đây:Maven Install: "Chú thích không được hỗ trợ trong -source 1.3"
C:\Repositories\blah\src\test\java\com\xxx\qm\testrunner\test\ATest.java:[11,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Test
C:\Repositories\blah\src\test\java\com\xxx\qm\common\test\BTest.java:[11,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Test
phụ thuộc Maven của tôi bao gồm jUnit 4.8
, tuy nhiên và không có tham chiếu đến 1.3 bất kỳ thứ gì.
Điều gì sẽ gây ra các lỗi này? Vui lòng thông báo cho
Got it! Thank you very much – JAM