Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 163
Registered: ‎11-17-2015
Accepted Solution

GMSC 2018 Update 3 - plugin migration issue - swingx-1.6.1.jar

Hello,

 

We have some plugins which worked on GMSC 2018 update 2.

We migrated some of them to GMSC 2018 u3 without problem.

One of them doesn't work. It uses the swingx-1.6.1.jar external library. I cannot find any restriction about this library (at least in the v9 and v10 deprecated list).

No problem in Eclipse project. Just an error when lauching GMSC with the signed jars. The error is:

 

java.util.ServiceConfigurationError: com.intergraph.web.core.kernel.plugin.SmartClientPlugin: fr.hexagonsi.isogeo.PluginIsoGeo Unable to get public no-arg constructor
at java.base/java.util.ServiceLoader.fail(Unknown Source)
at java.base/java.util.ServiceLoader.getConstructor(Unknown Source)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(Unknown Source)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(Unknown Source)
at java.base/java.util.ServiceLoader$2.hasNext(Unknown Source)
at java.base/java.util.ServiceLoader$3.hasNext(Unknown Source)
at com.intergraph.web.core.kernel.plugin.PluginCuratorFactory.loadPluginsFromClasspath(PluginCuratorFactory.java:139)
at com.intergraph.web.core.kernel.plugin.PluginCuratorFactory.createPluginCurator(PluginCuratorFactory.java:92)
at com.intergraph.web.DefaultKernelHandler.createPluginCurator(SmartClient.java:438)
at com.intergraph.web.core.kernel.SmartClientKernel.launch(SmartClientKernel.java:189)
at com.intergraph.web.core.kernel.SmartClientKernel.boot(SmartClientKernel.java:106)
at com.intergraph.web.SmartClient.create(SmartClient.java:135)
at com.intergraph.web.SmartClient.main(SmartClient.java:104)
Caused by: java.lang.NoClassDefFoundError: org/jdesktop/swingx/JXTaskPane
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.base/java.lang.Class.getConstructor0(Unknown Source)
at java.base/java.lang.Class.getConstructor(Unknown Source)
at java.base/java.util.ServiceLoader$1.run(Unknown Source)
at java.base/java.util.ServiceLoader$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
... 12 more
Caused by: java.lang.ClassNotFoundException: org.jdesktop.swingx.JXTaskPane
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 19 more

 

Any idea?

Thank you.

Yohann.

 

Highlighted
Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: GMSC 2018 Update 3 - plugin migration issue - swingx-1.6.1.jar

Hi Yohann,

 

it is probably not part of the jar, shouldn't this be swingx-all-1.6.1.jar?

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Regular Contributor
Posts: 163
Registered: ‎11-17-2015

Re: GMSC 2018 Update 3 - plugin migration issue - swingx-1.6.1.jar

Hello Stefano,

 

You were right. This was not part of the specified jar but included in the all.jar.

My plugins work now in GMSC 2018 u3.

 

Thank you!

Yohann.

Regular Contributor
Posts: 163
Registered: ‎11-17-2015

Re: GMSC 2018 Update 3 - plugin migration issue - swingx-1.6.1.jar

Hello,

 

The problem were elsewhere.

We used to use *.jnlp files to reference plugin dependencies.

External libs were put in subfolders.

I didn't notice that with GMSC 2018 u3 all jars, including dependencies, have to be placed directly in the "plugins" folder.

 

Yohann.

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.