沙箱模拟支付 拦截器的配置问题

问题遇到的现象和发生背景

博主那个沙箱模拟支付的拦截器 配置

问题相关代码,请勿粘贴截图

@Override
protected void addInterceptors(InterceptorRegistry interceptorRegistry){
interceptorRegistry.addInterceptor(JwtInterceptor)

}
@Bean
public JwtInterceptor jwtInterceptor(){
    return new JwtInterceptor();

}
运行结果及报错内容

public JwtInterceptor jwtInterceptor()

我的解答思路和尝试过的方法

上网查jwt的书写方式

我想要达到的结果

配置拦截器可以正常运行