Hi,
I'm developing a metro web service with NetBeans 6.5, when I try to run/deploy the war from NetBeans I get the following error:
[code]
Warning: Web service endpoint ... component link ... is not valid
error: Bad declaration created for annotation type java.lang.Object
1 error
Fehler: Kompilierung fehlgeschlagen, die Fehler wurden gemeldet
Ausnahmefehler in J2EEC-Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: WSGEN FAILED
at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2256)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:424)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:157)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
[/code]
Bur when I deploy the war from the glassfish admin gui I only get the warning:
[code]
Warning: Web service endpoint ... component link ... is not valid
[/code]
and everything works fine.
Since the service works, what is the reason for the warning?
Why does wsgen fail if invoked from NetBeans?
Thanks in advance.
regards
robert
[Message sent by forum member 'wierob' (wierob)]
http://forums.java.net/jive/thread.jspa?messageID=325506