B4J Question Error with packager11

TomDuncan

Active Member
Licensed User
I have copied this post of mine to the correct area.
I am creating a package of the MqttCanvas.jar
with the Packager11 and received this error.
Any thoughts anyone.

B4X:
Waiting for debugger to connect...
Program started.
B4JPackager11 Version 1.11
InputJar: C:\b4j\files\MQTTCanvas\Objects\MQTTCanvas.jar
Running: C:\b4j\files\B4JPAC~1\Objects\temp\FindDosPath.exe
Running: C:\java\jdk-11.0.1\bin\jar
Package name: b4j.example
Running: C:\java\jdk-11.0.1\bin\jdeps
.
.
.
.
.
Explicitly excluded modules: [javafx.web]
Included modules: [java.base, java.desktop, java.logging, java.management, java.naming, java.sql, java.xml, javafx.base, javafx.controls, javafx.fxml, javafx.graphics, javafx.media, javafx.swing, jdk.unsupported, java.scripting, java.datatransfer, jdk.unsupported.desktop, jdk.jsobject, jdk.xml.dom]
.
Running: C:\java\jdk-11.0.1\bin\javac
.
module-info.java:22: error: package javax.servlet does not exist
uses javax.servlet.ServletContainerInitializer;
                  ^
1 error
Tom
 

aidymp

Active Member
Licensed User
I have copied this post of mine to the correct area.
I am creating a package of the MqttCanvas.jar
with the Packager11 and received this error.
Any thoughts anyone.

B4X:
Waiting for debugger to connect...
Program started.
B4JPackager11 Version 1.11
InputJar: C:\b4j\files\MQTTCanvas\Objects\MQTTCanvas.jar
Running: C:\b4j\files\B4JPAC~1\Objects\temp\FindDosPath.exe
Running: C:\java\jdk-11.0.1\bin\jar
Package name: b4j.example
Running: C:\java\jdk-11.0.1\bin\jdeps
.
.
.
.
.
Explicitly excluded modules: [javafx.web]
Included modules: [java.base, java.desktop, java.logging, java.management, java.naming, java.sql, java.xml, javafx.base, javafx.controls, javafx.fxml, javafx.graphics, javafx.media, javafx.swing, jdk.unsupported, java.scripting, java.datatransfer, jdk.unsupported.desktop, jdk.jsobject, jdk.xml.dom]
.
Running: C:\java\jdk-11.0.1\bin\javac
.
module-info.java:22: error: package javax.servlet does not exist
uses javax.servlet.ServletContainerInitializer;
                  ^
1 error
Tom
Comment out line 12!

'ExcludedModules = Array("javafx.web") 'comment this line if using WebView

Im not using any webviews but had to comment it out!
 
Top