tech:langage_groovy
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:langage_groovy [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:langage_groovy [2025/11/11 20:57] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 5: | Ligne 5: | ||
| Voir aussi : | Voir aussi : | ||
| * https:// | * https:// | ||
| + | |||
| == Hello world | == Hello world | ||
| Ligne 17: | Ligne 18: | ||
| println "Hello World !" | println "Hello World !" | ||
| </ | </ | ||
| + | |||
| + | |||
| == Importer une class | == Importer une class | ||
| Ligne 32: | Ligne 35: | ||
| == Fichier java .class | == Fichier java .class | ||
| - | + | '' | |
| - | < | + | <code groovy> |
| #! / | #! / | ||
| Ligne 87: | Ligne 90: | ||
| WARNING: All illegal access operations will be denied in a future release | WARNING: All illegal access operations will be denied in a future release | ||
| </ | </ | ||
| + | |||
| === Pb Error: Could not find or load main class test | === Pb Error: Could not find or load main class test | ||
| Ligne 95: | Ligne 99: | ||
| Caused by: java.lang.NoClassDefFoundError: | Caused by: java.lang.NoClassDefFoundError: | ||
| </ | </ | ||
| + | |||
| ==== Solution | ==== Solution | ||
| Ligne 101: | Ligne 106: | ||
| java -cp / | java -cp / | ||
| </ | </ | ||
| + | |||
| === Pb Error: Main method not found in class xxx | === Pb Error: Main method not found in class xxx | ||
| Ligne 115: | Ligne 121: | ||
| Voir : https:// | Voir : https:// | ||
| - | <code groovy | + | '' |
| + | < | ||
| #! / | #! / | ||
tech/langage_groovy.1742825205.txt.gz · Dernière modification : de 127.0.0.1
