开发者

How do I make a GroovyShell have access to my applications classes?

开发者 https://www.devze.com 2023-01-30 04:29 出处:网络
How do I make a GroovyShell have access to my applications classe开发者_开发问答s? I\'ve got it working where I can say simple stuff like println(\'5\'), but I can\'t access any of my classes like MyC

How do I make a GroovyShell have access to my applications classe开发者_开发问答s? I've got it working where I can say simple stuff like println('5'), but I can't access any of my classes like MyClass.printStuff()


Have you wrote the import statements?

0

精彩评论

暂无评论...
验证码 换一张
取 消