Modify ↓
#18737 closed defect (fixed)
ClassNotFoundException: java(x).sql.* when loading GeoTools plugin (WebStart)
Reported by: | Owned by: | Don-vip | |
---|---|---|---|
Priority: | normal | Milestone: | 21.03 |
Component: | Core Webstart | Version: | |
Keywords: | template_report java11 github icedtea-web | Cc: |
Description
What steps will reproduce the problem?
- start josm.jlnp after a number of plugins (incl. geotools) have been enabled.
What is the expected result?
josm loads with the geotools plugins available.
What happens instead?
cannot load geotools plugin.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-02-01 01:10:57 +0100 (Sat, 01 Feb 2020) Revision:15806 Build-Date:2020-02-01 00:12:46 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (15806 en) Linux Debian GNU/Linux 10 (buster) Memory Usage: 589 MB / 2048 MB (447 MB allocated, but free) Java version: 11.0.6+10-post-Debian-1deb10u1, Debian, OpenJDK 64-Bit Server VM Screen: :0.0 2560x1440 Maximum Screen Size: 2560x1440 Java package: openjdk-11-jre:amd64-11.0.6+10-1~deb10u1 WebStart package: icedtea-netx:all-1.7.2-2 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-22 libcommons-compress-java: libcommons-compress-java:all-1.18-2 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20181227-1 liboauth-signpost-java: liboauth-signpost-java:all-1.2.1.2-2 VM arguments: [--patch-module=java.desktop=/usr/share/icedtea-web/netx.jar:, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, -Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/share/icedtea-web/bin/javaws.sh, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy] Plugins: + ShapeTools (1240) + apache-commons (35092) + buildings_tools (35248) + ejml (35122) + geotools + imagery_offset_db (35248) + jaxb (35092) + jts (35122) + opendata (35313) + utilsplugin2 (35248) Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin geotools. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoClassDefFoundError: javax/sql/DataSource. Cause: java.lang.ClassNotFoundException: javax.sql.DataSource - W: Disable plugin - Could not load plugin 'geotools'. Delete from preferences?
Attachments (1)
Change History (18)
by , 5 years ago
Attachment: | Screenshot from 2020-02-19 14-27-57.png added |
---|
comment:2 by , 5 years ago
Keywords: | java11 added |
---|---|
Summary: | geotools plugin error: java.lang.ClassNotFoundException: javax.sql.DataSource → ClassNotFoundException: javax.sql.DataSource |
comment:3 by , 5 years ago
Component: | Plugin geotools → Core Webstart |
---|---|
Owner: | changed from | to
Summary: | ClassNotFoundException: javax.sql.DataSource → ClassNotFoundException: javax.sql.DataSource when loading GeoTools plugin with WebStart |
Strange, it's a duplicate of #17794 but the issue has been fixed in ticket:18620#comment:4. Maybe an Icedtea-Web bug.
comment:4 by , 5 years ago
Keywords: | github icedtea-web added |
---|
comment:6 by , 5 years ago
Summary: | ClassNotFoundException: javax.sql.DataSource when loading GeoTools plugin with WebStart → ClassNotFoundException: java(x).sql.* when loading GeoTools/wikipedia plugins (WebStart) |
---|
comment:7 by , 4 years ago
Summary: | ClassNotFoundException: java(x).sql.* when loading GeoTools/wikipedia plugins (WebStart) → ClassNotFoundException: java(x).sql.* when loading GeoTools plugin (WebStart) |
---|
comment:9 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:10 by , 4 years ago
Still got the problem :(
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-03-23 00:59:25 +0100 (Tue, 23 Mar 2021) Revision:17645 Build-Date:2021-03-23 02:30:55 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17645 fr) Windows 10 64-Bit OS Build number: Windows 10 Pro 2004 (19041) Memory Usage: 256 MB / 2048 MB (129 MB allocated, but free) Java version: 11.0.7+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 2560×1440 (scaling 1,00×1,00) \Display1 1920×1080 (scaling 1,00×1,00) Maximum Screen Size: 2560×1440 Best cursor sizes: 16×16→32×32, 32×32→32×32 VM arguments: [--add-modules=java.scripting,java.sql, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop,ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop,ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop] Plugins: + apache-commons (35524) + cadastre-fr (35727) + ejml (35458) + geotools + jaxb (35543) + jts (35458) + opendata (35640) + utilsplugin2 (35691) Last errors/warnings: - 00000,462 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000,463 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00012,036 E: org.openstreetmap.josm.plugins.PluginException: Une erreur est survenue dans le greffon geotools. Cause : java.lang.reflect.InvocationTargetException. Cause : java.lang.NoClassDefFoundError: javax/sql/DataSource. Cause : java.lang.ClassNotFoundException: javax.sql.DataSource - 00012,069 W: Désactiver le greffon - Impossible de charger le greffon 'geotools'. Voulez-vous le supprimer des préférences ?
comment:11 by , 4 years ago
At least OpenWebStart properly documents how to debug applications: https://openwebstart.com/docs/OWSGuide.html#_remote_debugging
comment:12 by , 4 years ago
Milestone: | → 21.03 |
---|
comment:16 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
josm version information