Index: /applications/editors/josm/plugins/MicrosoftStreetside/pom.xml
===================================================================
--- /applications/editors/josm/plugins/MicrosoftStreetside/pom.xml	(revision 36488)
+++ /applications/editors/josm/plugins/MicrosoftStreetside/pom.xml	(revision 36489)
@@ -26,5 +26,5 @@
     <java.lang.version>21</java.lang.version>
     <plugin.requires>apache-commons;javafx</plugin.requires>
-    <javafx.version>19</javafx.version>
+    <javafx.version>21</javafx.version>
   </properties>
   <dependencies>
@@ -66,4 +66,10 @@
       <scope>provided</scope>
     </dependency>
+    <dependency>
+      <groupId>org.pdfsam</groupId>
+      <artifactId>javafx-monocle</artifactId>
+      <version>${javafx.version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
Index: /applications/editors/josm/plugins/build-common.xml
===================================================================
--- /applications/editors/josm/plugins/build-common.xml	(revision 36488)
+++ /applications/editors/josm/plugins/build-common.xml	(revision 36489)
@@ -627,4 +627,5 @@
                     <path refid="test.classpath"/>
                     <pathelement path="${plugin.test.dir}/build/unit"/>
+                    <path refid="plugin.classpath.actual"/>
                 </classpath>
                 <testclasses outputDir="${plugin.test.dir}/report">
@@ -643,4 +644,5 @@
                         <jvmarg value="java.desktop/com.sun.imageio.spi=ALL-UNNAMED"  />
                         <jvmarg value="-XX:+ShowCodeDetailsInExceptionMessages" if:set="isJava14" unless:set="isJava15" />
+                        <jvmarg value="--enable-native-access=ALL-UNNAMED" />
                         <sysproperty key="josm.home" value="../00_core_test_config/unit-josm.home"/>
                         <sysproperty key="josm.test.data" value="${plugin.test.dir}/data"/>
