Не удалось извлечь файл Jar из Eclipse - PullRequest
0 голосов
/ 10 мая 2018

После запуска проекта в виде сборки Maven (установка mvn clean compile). В Eclipse при попытке экспортировать проект в виде Jar-файла, выполнив следующие шаги.

Экспорт-> Файл JAR-> Экспорт созданных файлов классов и ресурсов -> Экспорт файлов классов с ошибками компилятора и предупреждениями

Я получаю следующую ошибку

> JAR creation failed. See details for additional information.   Class
> files on classpath not found or not accessible for:
> 'VeryOldccstore/src/test/java/com/oracle/cloud/commerce/test/AdminAbstract.java'
> Exported with compile warnings:
> VeryOldccstore/src/test/java/com/oracle/cloud/commerce/test/AdminOrderTest.java
> Class files on classpath not found or not accessible for:
> 'VeryOldccstore/src/test/java/com/oracle/cloud/commerce/test/AdminOrderTest.java'
> Class files on classpath not found or not accessible for:
> 'VeryOldccstore/src/test/java/com/oracle/cloud/commerce/test/AdminInventoryTest.java'
> Problem writing VeryOldccstore/src/main/java/com/.svn/all-wcprops to
> JAR: duplicate entry: com/.svn/all-wcprops   duplicate entry:
> com/.svn/all-wcprops   Problem writing
> VeryOldccstore/src/main/java/com/.svn/entries to JAR: duplicate entry:
> com/.svn/entries   duplicate entry: com/.svn/entries   Problem writing
> VeryOldccstore/src/main/java/com/oracle/.svn/all-wcprops to JAR:
> duplicate entry: com/oracle/.svn/all-wcprops   duplicate entry:
> com/oracle/.svn/all-wcprops   Problem writing
> VeryOldccstore/src/main/java/com/oracle/.svn/entries to JAR: duplicate
> entry: com/oracle/.svn/entries   duplicate entry:
> com/oracle/.svn/entries   Problem writing
> VeryOldccstore/src/main/java/com/oracle/cloud/.svn/all-wcprops to JAR:
> duplicate entry: com/oracle/cloud/.svn/all-wcprops   duplicate entry:
> com/oracle/cloud/.svn/all-wcprops   Problem writing
> VeryOldccstore/src/main/java/com/oracle/cloud/.svn/entries to JAR:
> duplicate entry: com/oracle/cloud/.svn/entries   duplicate entry:
> com/oracle/cloud/.svn/entries   Exported with compile warnings:
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/CCClient.java  
> Exported with compile warnings:
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/CCClientUtils.java
> Problem writing
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/.svn/all-wcprops
> to JAR: duplicate entry: com/oracle/cloud/commerce/.svn/all-wcprops  
> duplicate entry: com/oracle/cloud/commerce/.svn/all-wcprops   Problem
> writing
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/.svn/entries to
> JAR: duplicate entry: com/oracle/cloud/commerce/.svn/entries  
> duplicate entry: com/oracle/cloud/commerce/.svn/entries   Exported
> with compile warnings:
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/model/inventory/SkuInventory.java
> Exported with compile warnings:
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/model/order/PriceDetails.java
> Exported with compile warnings:
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/model/order/CommerceItem.java
> Exported with compile warnings:
> VeryOldccstore/src/main/java/com/oracle/cloud/commerce/services/AdminOrderService.java
> Problem writing VeryOldccstore/src/main/java/.svn/all-wcprops to JAR:
> duplicate entry: .svn/all-wcprops   duplicate entry: .svn/all-wcprops 
> Problem writing VeryOldccstore/src/main/java/.svn/entries to JAR:
> duplicate entry: .svn/entries   duplicate entry: .svn/entries

Но файл Jar успешно создан в целевой папке. Я не уверен, причина этой ошибки

...