PDA

View Full Version : [Eclipse: WebService con Web Tools Platform] AIUTO: errore durante il Wizard del WS


Helldron
08-07-2010, 11:46
Ciao a tutti,
sto usando Eclipse e durante la creazione di un WebService con Axis2, mediante il WTP (web tools platform), mi sono imbattuto in questo errore durante il wizard:

Nella schermata in cui devo impostare come default il "services.xml" se clicco next o finish mi da 2 warnings:

IWAB0164E Cannot overwrite the file "services.xml" relative to the path "/Axis2WSTest/WebContent/WEB-INF/services/Converter/META-INF " because automatic file overwriting has not been enabled. Do you want to enable it for this file?

IWAB0164E Cannot overwrite the file "Converter.class" relative to the path "/Axis2WSTest/WebContent/WEB-INF/services/Converter/wtp" because automatic file overwriting has not been enabled. Do you want to enable it for this file?

Se clicco su "Yes" Eclipse aggira il problema da solo e se poi clicco su "next" avvio l'application server per deployare il WebService, ma esce fuori un errore:

Cannot Deploy Axis2WSTestEAR
org.eclipse.core.runtime.CoreException: Deployment Error for module: Axis2WSTestEAR: Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet%%%EOL%%%Exc eption while invoking class com.sun.enterprise.web.WebApplication start method : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet%%%EOL%%%
at com.sun.enterprise.jst.server.sunappsrv.SunAppServerBehavio u r.publishDeployedDirectory(SunAppServerBehaviour.java:755)
at com.sun.enterprise.jst.server.sunappsrv.SunAppServerBehavio u r.publishModuleForGlassFishV3(SunAppServerBehaviour.java:591 )
at com.sun.enterprise.jst.server.sunappsrv.SunAppServerBehavio u r.publishModule(SunAppServerBehaviour.java:281)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.p u blishModule(ServerBehaviourDelegate.java:949)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.p u blishModules(ServerBehaviourDelegate.java:1039)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.p u blish(ServerBehaviourDelegate.java:872)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.p u blish(ServerBehaviourDelegate.java:708)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Serv er.java:2731)
at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:1115)
at org.eclipse.jst.ws.internal.consumption.ui.command.StartSer v erCommand$1.run(StartServerCommand.java:132)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)

penso che questo WTP sia in parte buggato (almeno da come si legge in giro)ma cmq devo usarlo x forza, vi prego aiutatemi!!!

Helldron
10-07-2010, 16:07
UP!!!

Helldron
17-07-2010, 19:23
UP!!!