Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thufir@doge:~$
- thufir@doge:~$ tree IdeaProjects/
- IdeaProjects/
- ├── groovy
- │ ├── groovy.iml
- │ └── src
- │ └── hi.groovy
- └── java
- ├── java.iml
- └── src
- └── com
- └── company
- └── Main.java
- 6 directories, 4 files
- thufir@doge:~$
- thufir@doge:~$
- thufir@doge:~$ cat IdeaProjects/groovy/src/hi.groovy
- class GroovyJMSExample {
- def sendMessage() {
- println "hello"
- }
- static void main(String[] args) {
- sendMessage()
- }
- }
- thufir@doge:~$
- thufir@doge:~$ groovy IdeaProjects/groovy/src/hi.groovy
- Caught: groovy.lang.MissingMethodException: No signature of method: static GroovyJMSExample.sendMessage() is applicable for argument types: () values: []
- Possible solutions: sendMessage()
- groovy.lang.MissingMethodException: No signature of method: static GroovyJMSExample.sendMessage() is applicable for argument types: () values: []
- Possible solutions: sendMessage()
- at GroovyJMSExample.main(hi.groovy:7)
- thufir@doge:~$
Advertisement
Add Comment
Please, Sign In to add comment