<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/6/19 7:19 PM, Eze Ikonne wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:PN1PR01MB07505B60A4879089FB46BF6792890@PN1PR01MB0750.INDPRD01.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1"><o:p></o:p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">In the latest changes I included the
          following jars:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><br>
        </p>
        <p class="MsoNormal">opensaml-api-3.4.1.jar<o:p></o:p></p>
        <p class="MsoNormal">opensaml-impl-3.4.1.jar<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>(Those 2 don't actually exist, but I'll assume an email typo).<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:PN1PR01MB07505B60A4879089FB46BF6792890@PN1PR01MB0750.INDPRD01.PROD.OUTLOOK.COM">
      <div class="WordSection1">
        <p class="MsoNormal">openws-1.5.6.jar<o:p></o:p></p>
        <p class="MsoNormal">xmltooling-1.4.6.jar</p>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Well, that's not right.  You should not have openws or xmltooling
      in use with OpenSAML v3. What led you to believe that?  Those are
      for the v2 stack only.  In v3 they are completely absorbed and
      replaced by the various modules of java-opensaml (i.e. opensaml-*)
      and/or other jar dependencies defined in the the POM(s).  <br>
    </p>
    <p>You may need other opensaml-* jar artifacts depending on what you
      are doing. In particular for SAML stuff, you'll need
      opensaml-saml-api and opensaml-saml-impl and their dependencies. 
      But most importantly you need to include all the dependencies of
      the java-opensaml modules used in your app, both third-party and
      those from our project.  We're Maven-based, so it's easiest if you
      are Maven-based as well and use Maven for dependency mgmt, or at
      least something Maven-adjacent like Gradle.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:PN1PR01MB07505B60A4879089FB46BF6792890@PN1PR01MB0750.INDPRD01.PROD.OUTLOOK.COM">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <br>
        <p class="MsoNormal">        try {<o:p></o:p></p>
        <p class="MsoNormal">            //DefaultBootstrap.bootstrap();
          ------ existing line, which was throwing error<o:p></o:p></p>
        <p class="MsoNormal">           
          InitializationService.initialize(); -- new line added now</p>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>That is correct, that's how you init v3.  DefaultBootstrap is no
      longer used.  <br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:PN1PR01MB07505B60A4879089FB46BF6792890@PN1PR01MB0750.INDPRD01.PROD.OUTLOOK.COM">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <o:p></o:p><o:p></o:p>
        <p class="MsoNormal">Caused by:
          java.lang.ClassNotFoundException:
net.shibboleth.utilities.java.support.component.ComponentInitializationException<o:p></o:p></p>
        <p class="MsoNormal">              at
          java.net.URLClassLoader.findClass(URLClassLoader.java:609)
          ~[?:1.8.0]<o:p></o:p></p>
        <p class="MsoNormal">              at
          java.lang.ClassLoader.loadClassHelper(ClassLoader.java:925)
          ~[?:2.9 (06-26-2018)]<o:p></o:p></p>
        <p class="MsoNormal">              at
          java.lang.ClassLoader.loadClass(ClassLoader.java:870) ~[?:2.9
          (06-26-2018)]<o:p></o:p></p>
        <p class="MsoNormal">              at
          sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:343)
          ~[?:1.8.0]<o:p></o:p></p>
        <p class="MsoNormal">              at
          java.lang.ClassLoader.loadClass(ClassLoader.java:853) ~[?:2.9
          (06-26-2018)]<o:p></o:p></p>
        <p class="MsoNormal">              ... 19 more</p>
      </div>
      <br>
    </blockquote>
    <p><br>
    </p>
    <p>That sounds like you are missing the java-support jar
      dependency.  That is a Shibboleth project jar artifact, which is a
      dependency of all of the modules of java-opensaml.  Again, using
      Maven or something based on Maven (Gradle) will resolve and manage
      all of these for you automatically.</p>
    <p>If you don't use Maven, Grade, etc, then you're on your own.  At
      the very least you'd likely need to run something like 'mvn
      dependency:list' at least once on one of the lower-level
      java-opensaml modules to get a sense of all the dependencies you
      need to include.  Be aware that that's only going to give you a
      point-in-time list for that particular version. If/when we add
      additional deps in the future for newer versions, you won't know
      about them until something fails (hopefully at compile time and
      not at runtime in production...)</p>
    <p>Thanks,<br>
      Brent<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>