watsonx Posted September 27, 2006 Share Posted September 27, 2006 I've been a dotNet developer for long and switched to the world of Java after the release of JSC2. I'm kind of dissapointed to learn that the combination JSC and Jasper don't go together. I kindly request the experts to say whether this statement is true. The reason for my arguement is that after reading the a whole lot of technical articles and samples, I still get the error "Error Compiling the JasperDesign" Please help since I am evaluating this product to promote to the development team. Regards and Thanks in advance... Link to comment Share on other sites More sharing options...
Kannan_S Posted October 3, 2006 Share Posted October 3, 2006 hi watsonx,its great to hear that u have shifted to java worldwelcome to java world. the error compiling the jasperdesign is may be due to the invalid design. try opening the jrxml or xml file in iReports.select view-->dockingpanes-->document structure enable it if it is not. now u should see a box appearing in the left bottom side of the application. it will have title,background,pageHeader,pageDetail etc., the page detail,pageHeader will have subelements generally the sub elements are text and field elements. if u find some elements in red color,then there is an error. locate that particular element in the design area. It will not show u a blue color. if it is a text,then it will be red.if it is a field, then it will be green. change the position of the particular element untill its color turn in to blue.now try compiling the design.it should work let me know if there is any problem. Link to comment Share on other sites More sharing options...
watsonx Posted October 3, 2006 Author Share Posted October 3, 2006 Hi Kannan_S, Thank you for taking time to answer my query. My report is just a hello world nothing else. I did what you just said nothing in red, in fact only sub element I have is a static text in the detail. Since I am using JSC2 with Sun App Server 8.x, could this be related in anyway to this error? Thanks again... 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