473,503 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error while deploying the web services file.

1 New Member
Iam new to web services, Iam using net beans-5.5.1 IDE
whlie deploying the web service application the following error is occured.
can anyone help me..??? please.

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
wsgen-init-nonJSR109:
wsgen-wsadd-nonJSR109:
Exception in thread "main" java.lang.NoSuchMethodError: com.sun.tools.apt.Main.process(Lcom/sun/mirror/apt/AnnotationProcessorFactory;[Ljava/lang/String;)I
at com.sun.tools.ws.wscompile.WsgenTool.buildModel(Ws genTool.java:175)
at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool .java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.tools.ws.Invoker.invoke(Invoker.java:100)
at com.sun.tools.ws.WsGen.main(WsGen.java:38)
Command invoked: wsgen "C:\Program Files\Java\jdk1.5.0\jre\bin\java.exe" -Djava.endorsed.dirs=${jaxws.endorsed.dir} -classpath "C:\Program Files\Java\jdk1.5.0\lib\tools.jar;F:\laxmikumar\My Project\build\web\WEB-INF\classes;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\antlr.jar;F:\ netbeans-5.5.1\enterprise3\modules\ext\struts\commons-beanutils.jar;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\commons-digester.jar;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\commons-fileupload.jar;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\commons-logging.jar;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\commons-validator.jar;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\jakarta-oro.jar;F:\netbeans-5.5.1\enterprise3\modules\ext\struts\struts.jar;F: \netbeans-5.5.1\ide7\modules\ext\jaxws21\activation.jar;F:\n etbeans-5.5.1\ide7\modules\ext\jaxws21\FastInfoset.jar;F:\ netbeans-5.5.1\ide7\modules\ext\jaxws21\http.jar;F:\netbean s-5.5.1\ide7\modules\ext\jaxws21\api\jaxb-api.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\jaxb-impl.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\jaxb-xjc.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\api\jaxws-api.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\jaxws-rt.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\jsr250-api.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\saaj-impl.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\sjsxp.jar;F:\netbea ns-5.5.1\ide7\modules\ext\jaxws21\resolver.jar;F:\net beans-5.5.1\ide7\modules\ext\jaxws21\stax-ex.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\streambuffer.jar;F: \netbeans-5.5.1\ide7\modules\ext\jaxws21\jaxws-tools.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\api\jsr173_api.jar; F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\api\jsr181-api.jar;F:\netbeans-5.5.1\ide7\modules\ext\jaxws21\api\saaj-api.jar" com.sun.tools.ws.WsGen -d F:\laxmikumar\MyProject\build\web\WEB-INF\classes -keep -wsdl -r F:\laxmikumar\MyProject\build\generated\wsgen\serv ice -s F:\laxmikumar\MyProject\build\generated\wsgen\serv ice com.myapp.struts.wsadd
F:\laxmikumar\MyProject\nbproject\build-impl.xml:303: wsgen failed
BUILD FAILED (total time: 0 seconds)



build.xml - line no.303 is

<wsgen fork="true" xendorsed="true" sourcedestdir="${build.generated.dir}/wsgen/service" resourcedestdir="${build.generated.dir}/wsgen/service" destdir="${build.classes.dir.real}" keep="false" genwsdl="true" sei="com.myapp.struts.wsadd">
<classpath path="${java.home}/../lib/tools.jar:${build.classes.dir.real}:${j2ee.platfor m.wsgen.classpath}:${javac.classpath}"/>
<jvmarg value="-Djava.endorsed.dirs=${jaxws.endorsed.dir}"/>
</wsgen>
Jul 21 '07 #1
0 2287

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2493
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
4
357
by: Matthew Louden | last post by:
My ASP.NET application runs ok locally, but after I upload all the files to IIS in Windows Server 2003 Standard Edition, and no longer works. This has the following error messages: Configuration...
3
544
by: Hamilton | last post by:
Hi there, I've seen this error appear a few times in newsgroups but unfortunately I haven't found one that actually provides a solution. I'm basically deploying a new website into an area at a...
6
1873
by: Michael | last post by:
Program builds solution and setup projects with no reported errors. Building and deploying as loose uncompressed files works just fine. Debug Building and deploying as a setup file results in...
10
2120
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
6
5517
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
0
950
by: sani723 | last post by:
i have made a webservice that fecthes some data anf then displays that via XSLT in HTML format. this webservice works fine until i deploy it. after deploying it gives this error. The <html>...
1
8819
by: Mrozik | last post by:
Hi! I have a problem - after deploying application in client environment, on some client machines occured error. Environment: App server: ASP.NET WebService/Win 2003/ secured SSL (.NET 2.0)...
3
3214
raveendrabikkina
by: raveendrabikkina | last post by:
3087 / 3126 02/25 10:42:08 info Recovering 1 session(s) 3088 / 3126 02/25 10:42:08 warning Deployer Service failed to deploy file:/opt/jrun4/servers/cpbepost/logs/ 3089 / 3126...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7011
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4689
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.