users@glassfish.java.net

Re: WSGEN fails with spurious NoClassDefFoundError/ClassNotFoundException

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Nov 2008 13:48:45 PST

My workaround on this was a bit different. I tried adding the location of the class to the wsgen classpath (in the script and in the -cp parameters passed) as suggested by dobes but that didn't work for me. Turns out (at least in my case) that what I needed to do was run wsgen from within the directory where my package started. Nothing else worked for me.

Thank you for the reply dobes!
[Message sent by forum member 'edlftt' (edlftt)]

http://forums.java.net/jive/thread.jspa?messageID=315559