Re: Wsdeploy NullPointerException when compiling generated classes using Maven

From: Ramesh Gupta <Ramesh.Gupta_at_Sun.COM>
Date: Fri, 26 Mar 2004 11:51:25 -0800

You probably have multiple JRE's at least one of which is not inside a
J2SE SDK (which is where tools.jar is located). Instead of invoking
"java" directly, try invoking "java.exe" as follows, assuming JAVA_HOME
points to an SDK installation, not just a JRE.

"%JAVA_HOME%\bin\java.exe" -cp "%PATH%;%JWSDP_HOME%\jwsdp-shared\bin"
LauncherBootstrap wscompile -d
build\classes -s sources\src -keep -verbose -import sources\etc\config.xml

Hope this helps.


Doug Kohlert wrote:

> Ewan,
> I don't have a clue what might be wrong. Definately a classpath issue
> though as com.sun.javac.Main is in the tools.jar file of the Sun jdk.
> Ewan Harrow wrote:
>> [snip]
>> [wsdeploy] error : is not available in the
>> classpath..
>> [wsdeploy] error: compilation failed, errors should have been
>> reported

To unsubscribe, e-mail:
For additional commands, e-mail: