jasperj Posted September 22, 2015 Share Posted September 22, 2015 Using latest 6.1.1 and JDK 1.8 I get compile error for one particular report when compiling using maven plugin com.alexnederlof:jasperreports-plugin:1.7[ERROR] Failed to execute goal com.alexnederlof:jasperreports-plugin:1.7:jasper (default) on project myproject: Some Jasper reports could not be compiled. See log above for details. net.sf.jasperreports.engine.JRException: Could not compile test.jrxml: Errors were encountered when compiling report expressions class file:[ERROR] 1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files[ERROR] value = ((java.lang.String)field_status.getValue()).equals("ACTIVE"); //$JR_EXPR_ID=11$[ERROR] <--------------------------------------------------------------->[ERROR] 1 errors[ERROR] -> [Help 1] Link to comment Share on other sites More sharing options...
hozawa Posted September 22, 2015 Share Posted September 22, 2015 I think you still need to be using 1.7 to compile because some elements are still in 1.7. Link to comment Share on other sites More sharing options...
malik.masis Posted December 29, 2016 Share Posted December 29, 2016 i met same error and at last i found solve. Change your library with 6.x.x. If you use 5.x.x and lower, you take this error 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