[英]Tibco buildear error - generate ear file on cmd
I am trying to generate an .ear file on the command line. 我正在尝试在命令行上生成.ear文件。 I get the following error:
我收到以下错误:
Starting up...
The resource path to the ear 'null' doesn't begin with a '/'
Aborting.
When I run this command, I am in the folder where my where the archive is. 当我运行此命令时,我位于存档所在的文件夹中。 I am using the following command:
我正在使用以下命令:
buildear.exe -s -ear "CustomerDetailsService.archive" -o "C:\repos\sc\Projects\CustomerDetails\Deployment\Services.ear" -p "C:\repos\sc\Projects\CustomerDetails"
I realise the error is telling me the .archive file doesn't start with a '/', but, I'm not sure how I can set the file to begin with a '/'. 我意识到错误是告诉我.archive文件不是以'/'开头,但是我不确定如何设置文件以'/'开头。 How can I fix this error?
如何解决此错误?
You need to handle the space in the path. 您需要处理路径中的空间。 Give this a try:
试试看:
buildear -s -ear /CreditCheck.archive -o "C:\Tibco direct\CreditCheck\EarFile\CreditCheck.ear" -p "C:\Tibco direct\CreditCheck"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.