Jump to content
We've recently updated our Privacy Statement, available here ×

Java.lang.ClassCastException when creating a report with two different datasources


oakrami

Recommended Posts

Hello

I am trying to create a report which would pull data from two different datasoruces one being mongo and the other sqlserver .

I can run each reports successfully but when i create a subreport in one and join it to the other i get the following exception:

java.lang.ClassCastException: com.microsoft.sqlserver.jdbc.SQLServerConnection cannot be cast to com.jaspersoft.mongodb.connection.MongoDbConnection

Any help would be greatly appriciated.

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...