You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Harshana Eranga Martin (JIRA)" <ji...@apache.org> on 2011/08/05 22:33:27 UTC

[jira] [Commented] (AXIS2-5099) Class Not found error while using Axis2 plugin in Eclipse during Load class step

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

Harshana Eranga Martin commented on AXIS2-5099:
-----------------------------------------------

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