Xsd not found on classpath
Cantor, Scott
cantor.2 at osu.edu
Thu Jun 27 11:29:54 EDT 2013
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
More information about the users
mailing list