maven无法识别完整文件路径

odopli94  于 2021-07-09  发布在  Java
关注(0)|答案(0)|浏览(182)

所以我的pom里有这个:

<build>
<directory>${project.parent.basedir}\build</directory>
</build>

并输出以下错误:无法创建资源输出目录:c:\users\theob\github\octane\capes\c:\users\theob\github\octane\build\classes
如果我手动定义路径(即:c:/users/theob/github/octane/build),它可以工作,但是当我为它使用变量时,它就不工作了。
有人有什么建议吗?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题