tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Missing Guava in TomEE 7.0.4 Plus?
Date Wed, 20 Jun 2018 12:49:13 GMT
Hi,

yes and no. We intentionnally drop guava and it works with opensaml until
you import shibboleth which requires it. At that moment you have to either
drop opensaml libs from tomee libs or add the missing ones.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le mer. 20 juin 2018 à 14:46, <fabian-a.richter@rohde-schwarz.com> a écrit :

> Hey,
>
>
>
> when I try to initialize OpenSAML in TomEE 7.0.4 with
> InitializationService.initialize(); I get
>
>
>
> java.lang.ClassNotFoundException: com.google.common.base.Function
>
>             java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>
>             java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>
>             java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>
>
> net.shibboleth.utilities.java.support.xml.AttributeSupport.getAttributeValueAsQName(AttributeSupport.java:334)
>
>
> org.opensaml.core.xml.config.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:231)
>
>
> org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:203)
>
>
> org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:188)
>
>
> org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:162)
>
>
> org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer.init(AbstractXMLObjectProviderInitializer.java:52)
>
>
> org.opensaml.core.xml.config.XMLObjectProviderInitializer.init(XMLObjectProviderInitializer.java:45)
>
>
> org.opensaml.core.config.InitializationService.initialize(InitializationService.java:56)
>
>
>
> As soon as I add guava-18.0.jar to TomEE/lib it works.
>
>
>
> Did you guys miss to package this transitive dependency of opensaml (via
> java-support)?
>
>
>
> Thanks and best
>
> Fabian
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message