aviral7187 Posted October 4, 2010 Share Posted October 4, 2010 HiI started working with JasperServer and iReports recently. I successfully created a report in iReport, and wanted to deploy it to JasperServer. The data source for the report id SQL Server 2008. The problem is that whenever i try to add a data source in jasperserver and test connection it gives the following error The server encountered an internal error () that prevented it from fulfilling this request. org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class fileI have included the jar file for Sql Server 2008 - sqljdbc4 in the lib folder of tomcat which is\jasperserver-pro-3.7\apache-tomcat\common\lib Please help and let me know how can i establish the JDBC connection to Sql server 2008.Thanks in advance Aviral Link to comment Share on other sites More sharing options...
aviral7187 Posted October 4, 2010 Author Share Posted October 4, 2010 fyi java version - 1.6tomcat version - 5.5.20given driver: com.microsoft.sqlserver.jdbc.SQLServerDriver given url: jdbc:sqlserver://host:1433;databaseName=yourDatabase Link to comment Share on other sites More sharing options...
andrewsok Posted October 9, 2010 Share Posted October 9, 2010 Is it possible that you have java 1.5 also installed on your box, and tomcat uses it for some reason?The error text makes me think about this case.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now