Anthony Lucia
asked on
Eclipse and external jars
I added an external jar to my User Library.
Then I added a reference to the User Library to my project build path
Then I created a JDBC connected, and it tested successfully
However, when I run the flow as a program I get the following error
The com.ibm.db2.jcc.DB2Driver is the driver contained within the jar file I imported into the User Library. And with that user library connected in the build path I can successfully test the JDBC connection
However, when I run it as an external app, I get an error stating that it can not find the driver
How can I get my compiled apps to see the same libraries (jars) as defined within my project ?
Thanks
Then I added a reference to the User Library to my project build path
Then I created a JDBC connected, and it tested successfully
However, when I run the flow as a program I get the following error
java.sql.SQLException: Error trying to load driver: com.ibm.db2.jcc.DB2Driver :
com.ibm.db2.jcc.DB2Driver (org.mule.module.db.internal.domain.connection.Connect
ionCreationException). Message payload is of type: String
The com.ibm.db2.jcc.DB2Driver is the driver contained within the jar file I imported into the User Library. And with that user library connected in the build path I can successfully test the JDBC connection
However, when I run it as an external app, I get an error stating that it can not find the driver
How can I get my compiled apps to see the same libraries (jars) as defined within my project ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I will accept this one (I cant delete it now),That's not brilliant as it's not an answer, but we'll see what the mods say
ASKER
I will accept this one (I cant delete it now), and will delete the other one, and repost a single thread
My apologies