Skip to content

模板里没有groupId和module的变量注入 #106

@liy-cn

Description

@liy-cn

com.alibaba.initializer.generation.extension.SampleCodeContributor 这个类,少了groupId和module的变量注入

image

加上这两行就好了

params.put(BootstrapTemplateRenderConstants.KEY_GROUP_ID, description.getGroupId());
params.put(BootstrapTemplateRenderConstants.KEY_MODULE, module.getName()!=null ? module.getName() : "");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions