Skip navigation.
Home
Semantic Software Lab
Concordia University
Montréal, Canada

Wsimport Failed

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Hi,
I Followed the steps in documentation to run the server and it's running successfully. i can see the WSDL description in my browser. but when i am trying to run CSAL build target ant dist, its wsimport target failed.
can you please help me in that. below is the build output of wsimport

D:\OfficeProject\Repository\durm\Projects\SemanticAssistants\CSAL>ant wsimport
Buildfile: D:\OfficeProject\Repository\durm\Projects\SemanticAssistants\CSAL\build.xml

init:

wsimport:
[wsimport] Consider using / so that wsimport won't do unnecessary compilation
[wsimport] Exception in thread "main" java.lang.NullPointerException
[wsimport] at com.sun.tools.ws.Invoker.findIstack22APIs(Invoker.java:238)
[wsimport] at com.sun.tools.ws.Invoker.createClassLoader(Invoker.java:183)
[wsimport] at com.sun.tools.ws.Invoker.invoke(Invoker.java:84)
[wsimport] at com.sun.tools.ws.WsImport.main(WsImport.java:52)
[wsimport] Command invoked: wsimport "C:\Program Files\Java\jdk1.7.0\jre\bin\java.exe" -Djava.endor
sed.dirs=D:/OfficeProject/durmtools/jaxws-ri/lib -classpath D:\OfficeProject\durmtools\jaxws-ri\lib\
jaxws-tools.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\jaxws-rt.jar;D:\OfficeProject\durmtools\jaxw
s-ri\lib\jaxws-api.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\jsr181-api.jar;D:\OfficeProject\durmt
ools\jaxws-ri\lib\jsr250-api.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\saaj-api.jar;D:\OfficeProje
ct\durmtools\jaxws-ri\lib\activation.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\saaj-impl.jar;D:\Of
ficeProject\durmtools\jaxws-ri\lib\jsr173_api.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\woodstox.j
ar;D:\OfficeProject\durmtools\jaxws-ri\lib\resolver.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\jaxb
-api.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\jaxb-impl.jar;D:\OfficeProject\durmtools\jaxws-ri\l
ib\stax-ex.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\streambuffer.jar;D:\OfficeProject\durmtools\j
axws-ri\lib\policy.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\gmbal-api-only.jar;D:\OfficeProject\d
urmtools\jaxws-ri\lib\management-api.jar;D:\OfficeProject\durmtools\jaxws-ri\lib\jaxb-xjc.jar com.su
n.tools.ws.WsImport -d D:\OfficeProject\Repository\durm\Projects\SemanticAssistants\CSAL\bin -Xendor
sed -keep -s D:\OfficeProject\Repository\durm\Projects\SemanticAssistants\CSAL\src http://10.40.38.1
80:8879/SemAssist?wsdl

BUILD FAILED

thank you
shaz

rene's picture

seems to be a Windows-specific problem

Hello,

This problem keeps appearing on Windows PCs, we're looking into it. Also see this comment: http://www.semanticsoftware.info/forum/csal-distribution-problem#comment-52

The upcoming beta3 should improve things for Windows users. A short-term solution is to run it on Linux.

René

rene's picture

Use jax-ws 2.1.x

Make sure to use a 2.1.x version of jax-ws, the current beta does not work with a 2.2.x version: https://jax-ws.dev.java.net/