support case which project is not used Spring
Signed-off-by: IcePlus <zhengjiabin.tj@gmail.com>