Not able to add sqlserver driver in fuse.
Issue
- I downloaded correct jar file and run below command to create pom and put into maven repo:
mvn install:install-file -Dfile=C:\path\to\sqljdbc4.jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 -Dpackaging=jar
- then add below dependency in pom.xml and code is running and fetch record from DB by using MAIN method
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>4.0</version>
</dependency>
- Error
com.microsoft.sqlserver.jdbc.SQLServerDriver not found by MyBundle [309]
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.