Jump to content
Changes to the Jaspersoft community edition download ×

error compiling internally generated java source


hopi

Recommended Posts

Hello,

 

Since there were no answers about setting the classpaths correctly I am reverting back to my original approach which was to use internal scriptlets in each report. I am getting an error in a java source file that iReport creates (rx_order_pl_1177350103433_137168.java)

Output Console information:

 

Compiling to file... F:iReportsrx_order_pl.jasper -> F:iReportsrx_order_pl.java

Errors compiling F:iReportsrx_order_pl.jasper.

net.sf.jasperreports.engine.JRException: Error compiling report java source files : F:iReportsrx_order_pl_1178214469222_971048.java at net.sf.jasperreports.engine.design.JRJdk13Compiler.compileClasses(JRJdk13Compiler.java:119) at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:128) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:588) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.sf.jasperreports.engine.design.JRJdk13Compiler.compileClasses(JRJdk13Compiler.java:88) ... 6 more Caused by: com.sun.tools.javac.util.FatalError: Fatal Error: Resource for javac is missing at com.sun.tools.javac.main.Main.initResource(Main.java:676) at com.sun.tools.javac.main.Main.getText(Main.java:690) at com.sun.tools.javac.main.Main.getLocalizedString(Main.java:662) at com.sun.tools.javac.main.Main.bugMessage(Main.java:628) at com.sun.tools.javac.main.Main.compile(Main.java:615) at com.sun.tools.javac.main.Main.compile(Main.java:544) at com.sun.tools.javac.Main.compile(Main.java:85) ... 11 more Caused by: java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javac.resources.javac, locale en_US at java.util.ResourceBundle.throwMissingResourceException(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at com.sun.tools.javac.main.Main.initResource(Main.java:674) ... 17 more

Compilation running time: 2,503.

 

Could someone give me any idea of what the source of the problem might be please. Thank you.

 

hopi

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...