名称 space 错误

Name space error

我在你的配置中拼错了名字 space。我已经删除并更正了它,但似乎 space 这个名字仍然存在,即

Pros-MacBook-Pro:tutorial-network Santi$ composer archive create -t dir -n . Creating Business Network Archive

Looking for package.json of Business Network Definition Input directory: /Users/pro/~fabric-tools/tutorial-network TypeNotFoundException: Namespace is not defined for type org.acne.biznet.Trade Command failed

org.acne.biznet.Trade 是错误。应该是 'acme'

这是导致错误的原因吗?望指点

发现错误。在我的 lib/logic.js 文件中,我有一个拼写错误:

/**
 * Track the trade of a commodituy from one trader to another
 * @param {org.acne.biznet.Trade} trade # here
 * @transaction
 */

将其更改为 @param {org.acme.biznet.Trade} 贸易解决了它。