简体   繁体   English

Tibco buildear错误-在cmd上生成Ear文件

[英]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.

相关问题 如何从Tibco ActiveMatrix的Java方法检查空值 - How to check null value from Java Method of Tibco ActiveMatrix TIBCO Spotifre Analyst v7.10:删除列中具有空白/空值的行 - TIBCO Spotifre Analyst v7.10: Delete Rows That Have Blank / Null Value in Column Telerik报表:如何处理在报表上生成红色错误框的空日期? - Telerik Reporting: how to handle null dates that generate red error box on the report? android中的Google+登录按钮。 这些是我的Java文件和错误日志 - Google+ sign in button in android . These are my java file and error log 休眠错误消息:意外令牌:NULLS(脚本文件行中的错误:13意外令牌:NULLS) - Hibernate error message: unexpected token: NULLS (error in script file line: 13 unexpected token: NULLS) 执行jar文件时出现NoSuchFileException错误 - NoSuchFileException error while executing jar file 当value为null时,cmd.Parameters.AddWithValue()吗? - cmd.Parameters.AddWithValue() when value is null? 更短的替代三元以生成空字符串如果为零? - Shorter Alternative to ternary to generate empty string if nil? 静态函数在枚举中生成随机类型会导致崩溃,并显示错误“解开Optional值时意外发现nil” - Static func to generate random type in enum causes crash with error “unexpectedly found nil when unwrapping an Optional value” 尝试取消引用nil对象时,如何使iPhone模拟器生成错误? - How can I make iPhone simulator generate an error when I try to dereference a nil object?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM