Jump to content
Nuno_Martins

Problema com retorno num Web Service

Recommended Posts

Nuno_Martins

Olá a todos,

Tenho um Web Service programado em Java, em que um dos métodos retorna um Vector de um tipo de dados criado por mim, neste caso Conta.

Quando tento fazer o deploy no NetBeans recebo o seguinte erro:

The module has not been deployed.

at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)

at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:390)

at org.apache.tools.ant.Target.performTasks(Target.java:411)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)

at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)

at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)

Tenho a certeza que é por causa da Classe Conta que é retornada num dos métodos, porque ao comenta-lo consigo fazer deploy.

Alguém pode dar uma ajuda na resolução?

Obrigado desde já.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.