Xsd not found on classpath
Byte Flinger
byteflinger at gmail.com
Thu Jun 27 12:24:35 EDT 2013
Well my eclipse has got m2e plugin installed and it is pointing to a real
maven installation rather than the built-in but I am not sure what you
meant by that comment? Does either one require something specific upon
build? The wiki makes mention of some eclipse command-line flags however if
I understand that correctly it is just to get the imported idp xsd that
contains the definition of LoginHandlerType (something which I am not
having an issue with so skipped it).
As for the lib folder, I placed the jar inside it in shibboleth and ran the
install script to update the war and I think I checked that it was inside
the lib folder but I will make the check again.
Besides all that, would such an error be thrown if anything was
missconfigured in the customisation, as in, regardless of what it's in the
java/spring files it should still find the xsd, correct?
On Jun 27, 2013 5:30 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
> On 6/27/13 11:26 AM, "Byte Flinger" <byteflinger at gmail.com> wrote:
>
> >I have followed the guide in the wiki and loaded the project template in
> >eclipse, made the modifications and build it without errors.
>
> Note that Eclipse and a real maven build are very different.
>
> >I can confirm that the xsd can be found inside the jar under
> >META-INF/schema/filename.xsd however when I add both the namespace/prefix
> >and the xsd path in the schemaLocation part of the handler.xml conf file
> >(in the form of "classpath:schema/filename.xsd"),
> > I get the error that it cannot find the xsd file.
> >Is there something special one needs to do to get the xsd in classpath?
> >It feels to me that it should be enough to have the jar in the lib
> >directory and the xsd properly placed inside the jar file, no?
>
> If you mean the packed warfile's WEB-INF/lib, that should be enough.
>
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130627/d3ebbdd0/attachment.html
More information about the users
mailing list