`
noname365
  • 浏览: 134877 次
社区版块
存档分类
最新评论

对you must specify a local repository location错误的处理

阅读更多
这两天用maven的时候,碰到一个错误:
java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location。
经查找资料,发现一个解决办法,就是创建目录:%USER_HOME%/.m2/repository 。可是又碰到无法在windows图形界面模式下创建的情况,没办法借助dos命令完成
C:\Documents and Settings\Administrator>mkdir .m2
C:\Documents and Settings\Administrator>cd .m2
C:\Documents and Settings\Administrator>mkdir repository。测试后成功解决问题。

分享到:
评论
2 楼 guoshiyu20 2008-05-04  
非常谢谢你啊!
1 楼 movingboy 2007-12-28  
刚好遇到这个问题,使用你提到的办法解决了。谢谢!

相关推荐

    linux mount报错:you must specify the filesystem type的解决方法

    mount: you must specify the filesystem type 先执行:mkfs.ext3 /dev/vdb # mkfs.ext3 /dev/vdb mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 ...

    Step by Step From the Data Model to BI

    在IT领域,Business Warehouse(BW)是SAP公司推出的一款数据仓库解决方案,它为企业提供了一套集成的数据管理和分析工具。本教程"Step by Step From the Data Model to BI"旨在帮助初学者逐步理解并掌握BW的建模...

    itk,错误:use /Zm to specify a higher limit解决办法

    use /Zm to specify a higher limit ``` 此错误表明编译器内部堆栈空间已达到限制,导致编译无法继续。通常这种问题出现在包含大量头文件或者依赖复杂模板元编程的大型项目中。下面将详细介绍如何解决这一问题。 ...

    Tensorflow 2.1 报错整合

    文章目录Tensorflow 2.1 报错整合RuntimeError: `loss` passed to Optimizer.compute_gradients should be a function when eager ... When eager execution is enabled, `var_list` must specify a list or dict

    mysql中错误:1093-You can’t specify target table for update in FROM clause的解决方法

    在MySQL数据库操作中,有时会遇到一个特定的错误:1093 - You can’t specify target table for update in FROM clause。这个错误通常发生在尝试在一个`UPDATE`语句的`FROM`子句中直接引用目标更新表时。MySQL不支持...

    Android代码-ServeStream

    1.) To compile ServeStream using Ant, you must specify where your Android SDK and NDK are located via the local.properties file. To generate a local.properties file run the following command from the ...

    uefi-programming

    #uefi原理与编程EDK2源代码版本号为13087下载EDK2源代码 svn co -r 13087 在EDK2根目录...#ifdef _NATIVE_WCHAR_T_DEFINED// #error You must specify /Zc:wchar_t- to the compiler to turn off intrinsic nwchar_t.

    mysql中You can’t specify target table for update in FROM clause错误解决方法.docx

    ### MySQL中“You can’t specify target table for update in FROM clause”错误解决方法 在MySQL数据库管理过程中,遇到SQL语法错误是家常便饭,其中一种较为常见的错误是“You can’t specify target table for ...

    mysql中You can’t specify target table for update in FROM clause错误解决方法

    在MySQL数据库中,"You can’t specify target table for update in FROM clause"是一个常见的错误提示,意味着在同一个SQL语句中,你不能直接在一个`UPDATE`或`DELETE`语句的`FROM`子句中引用你想要更新或删除的表...

    netterm_ssh_linux连接工具

    Most sites will document the required emulation in their access documents, while others will provide a menu selection at connect time which allows you to specify the emulation type. In either case ...

    mac启动盘制作教程

    这种方法的优点在于稳定性和兼容性,缺点是对新手而言可能会显得较为复杂。以下是具体步骤: 1. **格式化U盘**:打开“磁盘工具”应用,选择U盘进行格式化为“Mac OS 扩展(日志式)”格式,并将其命名为“Sierra”...

    Excel File Format

    Excel File Format 解析 Excel 檔案的格式 detail.

    android studio安装配置及常见问题解决

    ### Android Studio 安装配置及常见问题解决 #### 一、Android Studio 安装与启动问题 **问题描述**: 安装完 Android Studio 后,在启动过程中可能会遇到启动图标显示异常的情况,具体表现为启动界面卡住或者无法...

    ApplicationID_versus_PackageName译文

    翻译自http://tools.android.com/tech-docs/new-build-system/applicationid-vs-packagename ApplicationId与PackageName的纠葛

    kubesphere离线安装打包报错

    在IT行业中,Kubernetes(K8s)是一个广泛使用的...在处理这类问题时,阅读和理解官方文档、查看日志以获取更详细的错误信息、参与社区讨论寻求帮助都是很重要的步骤。同时,保持耐心和细心是解决复杂技术问题的关键。

    adb_install_sequence.pdf

    adb_install_sequence apk安装流程

    RXTXComm(rxtx-2.2pre2-arm版)Debian10下源码编译生成JAR文件

    you must specify one,则用下面命令运行 > ./configure --build=arm-linux 等待执行完毕后执行: > make > make install 3.报错处理详见下面链接 https://blog.csdn.net/zw7789/article/details/133294541 ​

    Matlab常见语法错误及解决方法

    下面将对 Matlab 中常见的语法错误进行总结,并提供相应的解决方法。 1. Subscript indices must either be real positive integers or logicals 在 Matlab 中,下标索引必须是正整数类型或者逻辑类型。如果在访问...

Global site tag (gtag.js) - Google Analytics