java:dynamiclanguagesupport
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| java:dynamiclanguagesupport [2012/04/11 21:28] – creado rlunaro | java:dynamiclanguagesupport [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Dynamic Language Support in Spring ====== | ||
| + | |||
| + | Spring [[http:// | ||
| + | |||
| + | However, when I tried to use this feature of Spring, even with the last up-to-date version (3.1.1), many errors arise, due to the lack of proper libraries. | ||
| + | |||
| + | Many forums recall to the use of Maven to download properly these missing jars, but I don't want to use it. Other forums give solutions that are not solutions at all, so I've decided to collect these notes. | ||
| + | |||
| + | ===== java.lang.ClassNotFoundException: | ||
| + | |||
| + | You can find this missing class in this sourceforge project: | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | However **the ' | ||
| + | |||
| + | ===== java.lang.ClassNotFoundException: | ||
| + | |||
| + | You have to download [[http:// | ||
| + | |||
| + | I made the following: | ||
| + | |||
| + | - Download Groovy (binary release) | ||
| + | - Unzip the file and locate the " | ||
| + | - Add it to your project | ||
| + | |||
| + | ===== Location is incorrect also ===== | ||
| + | |||
| + | Here is my working example of my --still very simple-- groovy bean: | ||
| + | |||
| + | <code xml> | ||
| + | < | ||
| + | script-source=" | ||
| + | scope=" | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | If you have put your script into the package " | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
