This repository was archived by the owner on Feb 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +199
-145
lines changed
Expand file tree Collapse file tree 7 files changed +199
-145
lines changed Original file line number Diff line number Diff line change 88 {
99 "data" : {
1010 "text/plain" : [
11- " null "
11+ " No Outputs "
1212 ]
1313 },
1414 "execution_count" : 1 ,
5555 {
5656 "data" : {
5757 "text/plain" : [
58- " null "
58+ " No Outputs "
5959 ]
6060 },
6161 "execution_count" : 2 ,
105105 {
106106 "data" : {
107107 "text/plain" : [
108- " null "
108+ " No Outputs "
109109 ]
110110 },
111111 "execution_count" : 3 ,
189189 "source" : [
190190 " ij.op().help(\" eval\" )"
191191 ]
192+ },
193+ {
194+ "cell_type" : " code" ,
195+ "execution_count" : null ,
196+ "metadata" : {},
197+ "outputs" : [],
198+ "source" : []
192199 }
193200 ],
194201 "metadata" : {
195202 "kernelspec" : {
196- "display_name" : " SciJava " ,
203+ "display_name" : " Scijava " ,
197204 "language" : " groovy" ,
198205 "name" : " scijava"
199206 },
Original file line number Diff line number Diff line change 33 {
44 "cell_type" : " markdown" ,
55 "metadata" : {},
6- "source" : []
6+ "source" : [
7+ " Try to load the `JdbcTemplate` class. It should fail."
8+ ]
9+ },
10+ {
11+ "cell_type" : " code" ,
12+ "execution_count" : 17 ,
13+ "metadata" : {},
14+ "outputs" : [
15+ {
16+ "name" : " stdout" ,
17+ "output_type" : " stream" ,
18+ "text" : [
19+ " java.lang.ClassNotFoundException: org.springframework.jdbc.core.JdbcTemplate\n "
20+ ]
21+ },
22+ {
23+ "data" : {
24+ "text/plain" : [
25+ " No Outputs"
26+ ]
27+ },
28+ "execution_count" : 17 ,
29+ "metadata" : {},
30+ "output_type" : " execute_result"
31+ }
32+ ],
33+ "source" : [
34+ " try {\n " ,
35+ " Class.forName(\" org.springframework.jdbc.core.JdbcTemplate\" );\n " ,
36+ " } catch (ClassNotFoundException ex) {\n " ,
37+ " println ex\n " ,
38+ " }"
39+ ]
40+ },
41+ {
42+ "cell_type" : " markdown" ,
43+ "metadata" : {},
44+ "source" : [
45+ " Now, grab the related artifact with the [grab mechanism](https://github.com/scijava/scijava-grab)."
46+ ]
47+ },
48+ {
49+ "cell_type" : " code" ,
50+ "execution_count" : null ,
51+ "metadata" : {},
52+ "outputs" : [],
53+ "source" : [
54+ " #@dependency(\" org.springframework:spring-orm:3.2.5.RELEASE\" )"
55+ ]
56+ },
57+ {
58+ "cell_type" : " markdown" ,
59+ "metadata" : {},
60+ "source" : [
61+ " You can now load the `JdbcTemplate` class."
62+ ]
763 },
864 {
965 "cell_type" : " code" ,
1268 "collapsed" : true
1369 },
1470 "outputs" : [],
15- "source" : []
71+ "source" : [
72+ " import org.springframework.jdbc.core.JdbcTemplate\n " ,
73+ " obj = new JdbcTemplate();"
74+ ]
1675 }
1776 ],
1877 "metadata" : {
1978 "kernelspec" : {
20- "display_name" : " SciJava " ,
79+ "display_name" : " Scijava " ,
2180 "language" : " groovy" ,
2281 "name" : " scijava"
2382 },
You can’t perform that action at this time.
0 commit comments