schultcd Posted September 4, 2013 Share Posted September 4, 2013 I have written a custom library that includes some helpful date-related utilities like getCurrentQuarter, getLastQuarter, etc. and I've been using it to great effect in my own set of command-line scripts to launch reports, package them, and deliver them to wherever they need to go.Now I'd like to move to JasperServer and when I launch the report, I get this exception:2013-09-04 16:50:25,039 ERROR errorPage_jsp,http-bio-8080-exec-3:553 - stack trace of exception that redirected to errorPage.jspcom.jaspersoft.jasperserver.api.JSExceptionWrapper:net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : com.chadis.tools.DateUtil.set(com.chadis.tools.DateUtil.clearTime(com.chadis.tools.DateUtil.getToday()), java.util.Calendar.DAY_OF_WEEK, SUNDAY) at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:244) at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:591) at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:559) at net.sf.jasperreports.engine.fill.JRFillDataset.setFillParameterValues(JRFillDataset.java:973) at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:630)[...]Caused by: groovy.lang.MissingPropertyException: No such property: com for class: pulse_1378327709611_306059 at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGroovyObjectGetProperty(GetEffectivePogoPropertySite.java:69) at pulse_1378327709611_306059.evaluate(calculator_pulse_1378327709611_306059:152) at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:231) ... 141 more I have placed my custom JAR file under webapps/jasperserver/WEB-INF/lib and I restarted Tomcat (successfully).Any ideas?Linux x86-64, Oracle Java 7, JasperServer 5.2.0 Link to comment Share on other sites More sharing options...
negora Posted April 8, 2015 Share Posted April 8, 2015 Were you able to solve this problem finally? Thank you. 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