Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加载toolbox.xml的常量类,不起作用 #4

Open
idkkk opened this issue Feb 28, 2019 · 1 comment
Open

加载toolbox.xml的常量类,不起作用 #4

idkkk opened this issue Feb 28, 2019 · 1 comment
Assignees
Milestone

Comments

@idkkk
Copy link

idkkk commented Feb 28, 2019

  1. application.properties config:
    spring.velocity.toolbox-config-location=/templates/toolbox.xml

  2. toolbox.xml config:

  1. vm usage:
    $constant.SUCCESS_CODE
    $!constant.SUCCESS_CODE
@mercyblitz mercyblitz self-assigned this Dec 26, 2019
@mercyblitz mercyblitz added this to the 1.0.5 milestone Dec 26, 2019
@LookforAnswer
Copy link

使用 spring.velocity.tools-base-packages = com.alibaba.boot.velocity.tools,com.alibaba.boot.velocity.tools2,是生效的!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants