kstevens715 Posted November 25, 2011 Share Posted November 25, 2011 I'm using the Jaspersoft Studio Elipse plugin version 1.0.4. When I go to preview a report, 9 times out of 10 it fails with the errors shown below. What is strange, is if I keep clicking between design view and preview view, eventually the error will stop and the preview will load correctly. I tried to uninstall and reinstall the plugin, but that didn't work. I'm not really sure what to try. Has anyone else seen this? 11/25/11 11:19 AM - Start11/25/11 11:19 AM - Start compiling11/25/11 11:19 AM - Errors were encountered when compiling report expressions class file:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:calculator_Blank32A4_1322237975082_786391: 18: unable to resolve class JREvaluator @ line 18, column 1.[last line repeated like 200 times]calculator_Blank32A4_1322237975082_786391: 218: unable to resolve class JRFillVariable @ line 218, column 31.157 errorsnet.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:calculator_Blank32A4_1322237975082_786391: 18: unable to resolve class JREvaluator Link to comment Share on other sites More sharing options...
kstevens715 Posted November 27, 2011 Author Share Posted November 27, 2011 I was using Ubuntu 11.10 when I originally posted this problem. This weekend I installed Arch Linux and I'm getting the same exact error. I've tried OpenJDK and Oracle Java, different builds of Eclipse and a bunch of little random things... still can't get past this error. If I install Jaspersoft Studio standalone, everything works fine. But it would be so much nicer to work from within Eclipse. I'm sure it's something small. Link to comment Share on other sites More sharing options...
kstevens715 Posted November 27, 2011 Author Share Posted November 27, 2011 Well, I was able to get the previewer to work 100% of the time by switching the definition of the report to use Java instead of Groovy. I spent three days trying to fix it, and it was this simple lol. Although, it would still be really nice to get it working using Groovy, but at this point I don't really care as I'm at least just starting out with Jasper so I don't have much work that will need to be changed at this point.<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank A4" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">to<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank A4" language="java" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> 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