yesudas Posted August 18, 2007 Share Posted August 18, 2007 Dear all,Im facing new kind of problem in displaying image from database.Im using SQL server,the images are stored as image data type.When i use jasper reports, at run time, it throwserror called net.sf.jasperreports.engine.JRException: java.sql.SQLException: Cannot load column class 'byte[]': java.lang.ClassNotFoundException: byte[] But, when i use the .jrml file in IReport, that has been generated at run time , its working fine without any problem or error. Whether the field type is java.awt.Image or java.io.InputStream, its working fine for both. But why its not working in run time?Please help me na....I need the solution as early as possible.. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted December 14, 2007 Share Posted December 14, 2007 Hi, Are you sure you use the same JDBC driver for connecting to the database both in iReport and in your application?You need to provide the full stack trace and your environment details: JDK version, JR version, etc. Thank you,Teodor 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