I can't achieve to connect with a FileMaker database when I use the fmjdbc driver. I put the jar library in the /lib folder and I try connect with the next connection params:
dataSource {
pooled = true
driverClassName = "com.ddtek.jdbc.sequelink.SequeLinkDriver"
username = "myUser"
password = "myPass"
}
...
test {
dataSource {
dbCreate = "update"
url ="jdbc:sequelink://myIP:2399;serverDataSource=mydataBase;user=myUser;password=myPass"
}
}
Unfortunately, It return a ClassNotFoundException error:
"...
Caused by SQLNestedException: Cannot load JDBC driver class 'com.ddtek.jdbc.sequelink.SequeLinkDriver'
...
"
I think It could be a unregister-dependency lack, as well as the runtime dependency of mysql driver placed at buildConfig.groovy file:
dependencies {
runtime 'mysql:mysql-connector-java:5.1.16'
}
I have seen the manifest.mf jar file but This don't have any relevant data. Here the content:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_26-156 (Apple Inc.)
but I don't know how build the dependency string for com.ddtek.jdbc.sequelink.SequeLinkDriver driver.. Anybody says how could be it? Will It be the problem, or maybe coud be another?
Thanks a lot. Luis.
I can't achieve to connect with a FileMaker database when I use the fmjdbc driver. I put the jar library in the /lib folder and I try connect with the next connection params:
dataSource {
pooled = true
driverClassName = "com.ddtek.jdbc.sequelink.SequeLinkDriver"
username = "myUser"
password = "myPass"
}
...
test {
dataSource {
dbCreate = "update"
url ="jdbc:sequelink://myIP:2399;serverDataSource=mydataBase;user=myUser;password=myPass"
}
}
Unfortunately, It return a ClassNotFoundException error:
"...
Caused by SQLNestedException: Cannot load JDBC driver class 'com.ddtek.jdbc.sequelink.SequeLinkDriver'
...
"
I think It could be a unregister-dependency lack, as well as the runtime dependency of mysql driver placed at buildConfig.groovy file:
dependencies {
runtime 'mysql:mysql-connector-java:5.1.16'
}
I have seen the manifest.mf jar file but This don't have any relevant data. Here the content:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_26-156 (Apple Inc.)
but I don't know how build the dependency string for com.ddtek.jdbc.sequelink.SequeLinkDriver driver.. Anybody says how could be it? Will It be the problem, or maybe coud be another?
Thanks a lot. Luis.
0 commentaires:
Enregistrer un commentaire