JPAStorageService and OpenJDk
Daniel Fisher
dfisher at vt.edu
Tue Mar 12 23:43:58 EDT 2019
On Tue, Mar 12, 2019 at 2:50 PM McLennan, Neil R <n.mclennan at imperial.ac.uk>
wrote:
> I’m using OpenJDK11, Microsoft JDBC database drivers
> (mssql-jdbc-7.2.1.jre11.jar) and the HikariCP-2.2.5.jar connection pooling,
> but get
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'shibboleth.JPAStorageService.EntityManagerFactory' defined
> in file [C:\Program Files
> (x86)\Shibboleth\IdP\system\conf\..\..\conf\global.xml]: Invocation of init
> method failed; nested exception is java.lang.NoClassDefFoundError:
> javax/xml/bind/DatatypeConverter
>
Based on Scott's comment seems like that dependency is being pulled in
transitively, but maybe that's only happening for tests.
Regardless, that class was removed in Java 9, see
http://openjdk.java.net/jeps/320#Java-EE-modules
You'll need to download the jaxb jar from maven and add it to your
classpath.
--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190312/55cf126c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6317 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20190312/55cf126c/attachment.p7s>
More information about the users
mailing list