Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

Unable to generate model

$
0
0
Hi everyone,
I'm pretty new on pentaho Bi-Server and I'm trying to move my first steps into.
I've configured the Server on Ubuntu and I can access the console at pentahoserver:8080
I sucessfully created a datasource, connecting to a MSSQL 2008 database hosted by another machine on the LAN.
When I try to crete a new report I do these steps:
1) Log on Pentaho server
2) Create New Report
3) Add datasource "SQL Query"

Now, if I hit Data Preview I correctly see 10 records from my Table.

If I press "Finish" I have this error:
Unable to generate model: java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0 (unable to load class net.sourceforge.jtds.jdbc.Driver)

That's kinda strange because if the problem was the jdbc class, how can I see the data preview?
My catalina.out says:
17:46:09,860 ERROR [DatasourceServiceImpl] DatasourceServiceImpl.ERROR_0011 - Unable to generate model: java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0 (unable to load class net.sourceforge.jtds.jdbc.Driver)
org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0 (unable to load class net.sourceforge.jtds.jdbc.Driver)
at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.convertFromConnection(ConnectionServiceImpl.java:317)
at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.DatasourceServiceImpl.generateQueryDomain(DatasourceServiceImpl.java:544)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
etc.

I have both sqljdbc4.jar and jtds-1.3.0.jar in the lib directory (tomcat/lib), but the datasource is defined as jdbc:sqlserver

Any guess?

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>