/
Jasper Error while building OpenELIS
Jasper Error while building OpenELIS
when build the code : ant dist
,got this:
Error compiling report design : D:\opt\bahmni\OpenElis\openelis\WebContent\WEB-INF\reports\ConfirmationSummary.jrxml
[jrc] net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:[jrc] 1.
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files[jrc] /*[jrc] ^[jrc]
1 errors[jrc][jrc]
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:191)[jrc]
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:215)[jrc]
at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:131)[jrc]
at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:113)[jrc]
at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:411)[jrc]
at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:254)[jrc]
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)[jrc]
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)[jrc]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[jrc]
at java.lang.reflect.Method.invoke(Method.java:498)[jrc]
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)[jrc]
at org.apache.tools.ant.Task.perform(Task.java:348)[jrc]
at org.apache.tools.ant.Target.execute(Target.java:435)[jrc]
at org.apache.tools.ant.Target.performTasks(Target.java:456)[jrc]
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)[jrc]
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)[jrc]
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)[jrc]
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)[jrc]
at org.apache.tools.ant.Main.runBuild(Main.java:851)[jrc]
at org.apache.tools.ant.Main.startAnt(Main.java:235)[jrc]
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)[jrc]
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)[jrc]
File : D:\opt\bahmni\OpenElis\openelis\WebContent\WEB-INF\reports\Patient_Indeterminate_ByLocation.jrxml ... OK.
Solution: Use JDK 7 for compiling OpenELIS codebase. ELIS (due to some Jasper issues) needs JDK7 to compile. It can be run in JDK8, but cannot be compiled in JDK8 currently.
, multiple selections available,
Related content
Troubleshooting build errors
Troubleshooting build errors
Read with this
All Bahmni (Legacy) Releases
All Bahmni (Legacy) Releases
More like this
Configuring other order types
Configuring other order types
More like this
Lab Order Control
Lab Order Control
More like this
Odoo 10 System Configuration
Odoo 10 System Configuration
More like this
Troubleshooting Installation Issues
Troubleshooting Installation Issues
More like this
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)