NEMPH / nem-apps-lib

Semantic Java API Library for NEM Platform
MIT License
17 stars 19 forks source link

mvn compilation error #21

Open brentsun opened 6 years ago

brentsun commented 6 years ago

hi, I issued mvn install, and hit errors as following, could you help: [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[37,88] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_ROOT_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[60,88] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_MOSAIC_DEFINITION_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[89,88] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_ROOT_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[113,41] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_ROOT_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[134,88] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[160,41] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_MOSAIC_DEFINITION_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[209,41] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_MOSAIC_DEFINITION_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId [ERROR] /v:/git_github/nem-apps-lib/src/main/java/io/nem/apps/api/NamespaceMosaicsApi.java:[236,88] cannot find symbol [ERROR] symbol: variable NIS_REST_NAMESPACE_MOSAIC_DEFINITION_PAGE [ERROR] location: class org.nem.core.connect.client.NisApiId

czhiqi commented 5 years ago

Add below code to NisApiId.java

/**
 * The /namespace/root/page API
 */
NIS_REST_NAMESPACE_ROOT_PAGE("/namespace/root/page"),

/**
 * The /namespace API
 */
NIS_REST_NAMESPACE("/namespace"),

/**
 * The /namespace/mosaic/definition/page API
 */
NIS_REST_NAMESPACE_MOSAIC_DEFINITION_PAGE("/namespace/mosaic/definition/page"),