I started working with Spring Tool Suite 6.0 M1, Spring Roo 1.2.5, JDK 8.0, Windows 7 Home; I created a Spring Roo project but I'm having troubles to complete the project configuration.
Here the steps:
- The Roo project is created: File > New > Other > Spring > Spring Roo Project
- jpa setup is completed
- JTDS is being used by default as follow..
database.driverClassName=net.sourceforge.jtds.jdbc.Driver
database.url=jdbc\:jtds\:sqlserver\://localhost\:1433/mydb - osgi start --url file:///D:/RooThings/jtds-1.2.4.jar (it worked fine)
- database reverse engineering complete with success.
- There are warnings for a couple of classes within the project:
@RooJpaEntity(identifierType = SeriePK.class, versionField = "", table = "Serie", schema = "dbo")
public class Serie {}
** SeriePK.class : Type mismatch: cannot convert from Class<'SeriePK> to Class<'? extends Serializable>
At SeriePK.class:
@RooIdentifier(dbManaged = true)
public final class SeriePK {}
I extended it with Seriealizable, but the warning is still there. I tried to fix this changing the SQLServer driver as follow:
- I followed this support: Setup SqlServer Driver in Roo project
- database.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver database.url=jdbc\:sqlserver\://localhost\:1433;database=mydb
- osgi start --url file:///D:/RooThings/sqljdbc4-4.0.jar (it worked fine)
roo> database introspect --schema dbo
javax.net.ssl.SSLSocket not found by [84]
so, I can't to continue working with Roo anymore..
Any help I'd really appreciate.