Maven не мог создать местный репозиторийJAVA

Программисты JAVA общаются здесь
Anonymous
Maven не мог создать местный репозиторий

Сообщение Anonymous »

Вот проблема. Я переименовал свою пользовательскую папку в Windows, где была папка .M2.[ERROR] Could not create local repository at C:\Users\Олег\.m2\repository -> [Help 1]
[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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... eException
< /code>

Это старый путь < /p>


c: \ users \ oleg \ .m2 \ repository < /p>
< /blockquote>

и это новое < /p>

и это новое c: \ users \ oleg \ .m2 \ Repository < /p>
< /blockquote>

Я пробовал все. Удаление Maven. Удаление всех папок кеша. Изменен путь в файле настроек в Maven. Изменен путь в плагинах в идее и затмении. Переустановите как идею, так и затмение. /> < /blockquote>

или когда я добавляю зависимость Maven в сборку развертывания, я получаю эту ошибку, которую я упоминал выше. Мне пришлось лучше объяснить. Я правильно изменил имя пользователя. В пользователе администратора и с изменением реестра и других материалов < /p>

pom.xml файл < /p>




4.0.0

com.example
Websystems
0.0.1-SNAPSHOT
war

Websystems Maven Webapp

http://www.example.com


UTF-8
1.7
1.7
3.2.4.RELEASE





org.springframework
spring-web
${springCoreVersion}



org.springframework
spring-webmvc
${springCoreVersion}


org.springframework
spring-context-support
${springCoreVersion}


org.springframework
spring-core
${springCoreVersion}


org.springframework
spring-context
${springCoreVersion}


commons-logging
commons-logging




javax.servlet
javax.servlet-api
4.0.0
provided



javax.servlet.jsp
javax.servlet.jsp-api
2.3.1
provided


junit
junit
4.11
test



org.slf4j
jcl-over-slf4j
1.7.21



ch.qos.logback
logback-classic
1.1.7
test





Websystems



maven-clean-plugin
3.1.0



maven-resources-plugin
3.0.2


maven-compiler-plugin
3.8.0


maven-surefire-plugin
2.22.1


maven-war-plugin
3.2.2


maven-install-plugin
2.5.2


maven-deploy-plugin
2.8.2







Подробнее здесь: https://stackoverflow.com/questions/605 ... repository

Вернуться в «JAVA»