Monday, December 28, 2015

All nodes about Spring framework

Roo Shell

roo> database introspect --schema study
Located add-on that may offer this JDBC driver
1 found, sorted by rank; T = trusted developer; R = Roo 1.3 compatible
ID T R DESCRIPTION -------------------------------------------------------------
01 Y Y #jdbcdriver driverclass:com.mysql.jdbc.Driver. This...
[HINT] use 'addon info id --searchResultId ..' to see details about a search result
[HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
[HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
JDBC driver not available for 'com.mysql.jdbc.Driver'


Step 1:
Add dependency to Maven pom.xml of your project.
Save pom.xml and wait for Maven downloads mysql-connector-java-5.1.38.jar to local repository

Step 2:
Execute the following command in Roo Shell:

roo> osgi start --url C:\Users\son\.m2\repository\mysql\mysql-connector-java\5.1.38\mysql-connector-java-5.1.38.jar

No comments: