axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harshana Eranga Martin (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (AXIS2-5099) Class Not found error while using Axis2 plugin in Eclipse during Load class step
Date Fri, 05 Aug 2011 20:33:27 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080200#comment-13080200
] 

Harshana Eranga Martin edited comment on AXIS2-5099 at 8/5/11 8:32 PM:
-----------------------------------------------------------------------

Hi Shijin,

So this is what you need to do:

In the first wizard page where you need to specify the Class file location, you need to locate
the output class file container. For E.g: /home/harshana/workspace_6/Axis2_5099/bin (Here
bin folder is the output class file container of the eclipse project Axis2_5099)

In the wizard page where you need to specify the service name and the class name, you need
to mention the fully qualified class name of your service. For E.g: I have created HelloService
class inside a.b package. Hence my fully qualified class name is "a.b.HelloService". 

Then click on the button "Load". Then it will populate all the methods declared in your class
and the methods which are inherited fro super classes. To populate only methods which are
declared in your project, tick "Search declared methods only" option.

If the above steps are not working, then please check whether the compiled classes are available
in the compiled class file container you selected in the wizard page1.

Hope this helps!

Thanks and Regards,
Harshana

      was (Author: harshana05):
    Hi Shijin,

So this is what you need to do:

In the first wizard page where you need to specify the Class file location, you need to locate
the output class file container. For E.g: /home/harshana/workspace_6/Axis2_5099/bin (Here
bin folder is the output class file container of the eclipse project Axis2_5099)

In the wizard page where you need to specify the service name and the class name, you need
to mention the fully qualified class name of your service. For E.g: I have created HelloService
class inside a.b package. Hence my fully qualified class name is "a.b.HelloService". 

Then click on the button "Load". Then it will populate all the methods declared in your class
and the methods which are inherited fro super classes. To populate only methods which are
declared in your project, tick "Search declared methods only" option.

Hope this helps!

Thanks and Regards,
Harshana
  
> Class Not found error while using Axis2 plugin in Eclipse during Load class step
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-5099
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5099
>             Project: Axis2
>          Issue Type: Bug
>          Components: ide plugins
>    Affects Versions: 1.6.0
>         Environment: Eclipse Java EE IDE for Web Developers,Version: Helios Service Release
2 and MyEclipse
>            Reporter: Shijin Mathew
>
> I'm trying to build the the Service Archive using the Eclipse Axis2 Service Archiver
wizard, but cannot get it to work. 
> I point the Class File Location setting to the directory that contains the directory
structure com/sencide. The directory contains my compiled Java class ConverterService.class.

> On the second screen of the wizard, I skip the WDSL 
> I do not add any additional jars 
> I check the checkbox to generate the service.xml automatically 
> and then I get to the part where I'm getting stuck... 
> I have to specify a Service Name and Class name. So, I try all kind of things here, but
the wizard keeps telling me: "error : Class not found com.sencide.ConverterService" 
> As you can see, as classname, I put in the full path + the name of the skeleton class
(in which my business logic is also implemented). I tried all kind of different options, but
nothing seems to work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message