B4J Question [solved] B4JPackager11 + JasperReports error

powerino

Active Member
Licensed User
Hi everyone, I have implemented a software that I have to give to the customer, but when creating the .exe file I have these errors (3) ... what can I do to solve it? Thank you





B4JPackager11 Version 1.14
Exe name: Timesofart.exe
InputJar: C:\Rino\AppSitoWeb\Timesofart\Objects\Timesofart.jar
Running: C:\Rino\APPSIT~1\COMPIL~1\B4JPAC~1\Objects\temp\FindDosPath.exe
Running: C:\Program Files\Java\jdk-11.0.6\bin\jar
.
Package name: com.guerrinosantoni.database
Running: C:\Program Files\Java\jdk-11.0.6\bin\jdeps
.
.
.
.
Explicitly excluded modules: []
Included modules: [java.base, java.datatransfer, java.desktop, java.logging, java.management, java.management.rmi, java.naming, java.prefs, java.rmi, java.scripting, java.security.jgss, java.sql, java.sql.rowset, java.transaction.xa, java.xml, java.xml.crypto, javafx.base, javafx.controls, javafx.fxml, javafx.graphics, javafx.media, javafx.swing, javafx.web, jdk.security.auth, jdk.unsupported, jdk.unsupported.desktop, jdk.jsobject, jdk.xml.dom]
Running: C:\Program Files\Java\jdk-11.0.6\bin\javac
.
.
.
.
module-info.java:33: error: package org.codehaus.groovy.plugins does not exist
uses org.codehaus.groovy.plugins.Runners;
^
module-info.java:34: error: cannot find symbol
uses org.codehaus.groovy.runtime.ExtensionModule;
^
symbol: class ExtensionModule
location: package org.codehaus.groovy.runtime
module-info.java:35: error: package org.codehaus.groovy.source does not exist
uses org.codehaus.groovy.source.Extensions;
^
3 errors



Edit: solution is here: https://www.b4x.com/android/forum/threads/b4jpackager11-error.115168/post-721387
 
Last edited by a moderator:

DonManfred

Expert
Licensed User

powerino

Active Member
Licensed User
I use "Jaspersoft Studio" to create a report, it is possible that the problem is this?
 

powerino

Active Member
Licensed User
It is a library for creating reports. But that's not the problem ... it must be related to the .jar file, and I can't understand how to fix it.
 

powerino

Active Member
Licensed User
I tried, but in my "project", after opening it with 7-zip, I don't have the enum folder to delete
 

powerino

Active Member
Licensed User
I have EVER these errors:

module-info.java:33: error: package org.codehaus.groovy.plugins does not exist
uses org.codehaus.groovy.plugins.Runners;
^
module-info.java:34: error: cannot find symbol
uses org.codehaus.groovy.runtime.ExtensionModule;
^
symbol: class ExtensionModule
location: package org.codehaus.groovy.runtime
module-info.java:35: error: package org.codehaus.groovy.source does not exist
uses org.codehaus.groovy.source.Extensions;
^
3 errors
 

powerino

Active Member
Licensed User
"Groovy" files are created during compilation, so it's a problem with B4JPackager11
 

rboeck

Well-Known Member
Licensed User
I saw in your log files, that you use not the java version, which is maybe mandatory for b4jpackager11; your log show: jdk-11.0.6 ; maybe this is the source of the problem?
 

powerino

Active Member
Licensed User
I uninstalled all java, restarted the PC and reinstalled targets 8 and 11 as per your link, but I always have the same 3 errors

B4JPackager11 Version 1.14
Exe name: Timesofart.exe
InputJar: C:\Rino\AppSitoWeb\Timesofart\Objects\Timesofart.jar
Running: C:\Rino\APPSIT~1\COMPIL~1\B4JPAC~1\Objects\temp\FindDosPath.exe
Running: C:\Java\jdk-11.0.1\bin\jar
Package name: com.guerrinosantoni.timesofart
Running: C:\Java\jdk-11.0.1\bin\jdeps

.
Explicitly excluded modules: []
Included modules: [java.base, java.datatransfer, java.desktop, java.logging, java.management, java.management.rmi, java.naming, java.prefs, java.rmi, java.scripting, java.security.jgss, java.sql, java.sql.rowset, java.transaction.xa, java.xml, java.xml.crypto, javafx.base, javafx.controls, javafx.fxml, javafx.graphics, javafx.media, javafx.swing, javafx.web, jdk.security.auth, jdk.unsupported, jdk.unsupported.desktop, jdk.jsobject, jdk.xml.dom]
Running: C:\Java\jdk-11.0.1\bin\javac
.
.
.
module-info.java:33: error: package org.codehaus.groovy.plugins does not exist
uses org.codehaus.groovy.plugins.Runners;
^
module-info.java:34: error: cannot find symbol
uses org.codehaus.groovy.runtime.ExtensionModule;
^
symbol: class ExtensionModule
location: package org.codehaus.groovy.runtime
module-info.java:35: error: package org.codehaus.groovy.source does not exist
uses org.codehaus.groovy.source.Extensions;
^
3 errors
 

rboeck

Well-Known Member
Licensed User
Last edited:
Top