Jasper reports in Mendix

0
Hi Experts,   I am getting an error while deploying the application in Studio Pro after importing the J-Reports module.   The error message is as under:   Buildfile: D:\Praxis\MendixMindsphere\MendixProjects\Forecast-main\deployment\build_core.xml   compile: [javac] Compiling 11 source files to D:\Praxis\MendixMindsphere\MendixProjects\Forecast-main\deployment\run\bin [javac] D:\Praxis\MendixMindsphere\MendixProjects\Forecast-main\javasource\jasperreports\actions\generatePDF.java:112: error: cannot find symbol [javac] inputStream = Core.getFileDocumentContent(getContext(), __Form); [javac] ^ [javac] symbol: variable __Form [javac] location: class generatePDF [javac] Note: D:\Praxis\MendixMindsphere\MendixProjects\Forecast-main\javasource\jasperreports\actions\generatePDF.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: D:\Praxis\MendixMindsphere\MendixProjects\Forecast-main\javasource\jasperreports\actions\generatePDF.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error   BUILD FAILED D:\Praxis\MendixMindsphere\MendixProjects\Forecast-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details.   Total time: 5 seconds   Kindly assist.
asked
1 answers
0

I get not compile errors when i import it in 8.12.1.

This sometimes fixes unexplained compile errors:

  1. Project – clean deployment directory
  2.  Project – deploy for eclipse
  3.  Run the project

 

I hope this helps.

answered