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 "Shijin Mathew (JIRA)" <ji...@apache.org> on 2011/07/22 21:26:58 UTC

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

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


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

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089315#comment-13089315 ] 

Harshana Eranga Martin edited comment on AXIS2-5099 at 8/23/11 7:07 AM:
------------------------------------------------------------------------

Hi Shijin, 

Were you able to try this given solution?

AFAIU there is no issue in the plugin. So it is ok to resolve this jira.



      was (Author: harshana05):
    Hi Shijin, 

Were you able to try this given solution?


  
> 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


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

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5099.
---------------------------------------

    Resolution: Invalid

If you have any issue feel free to reopen this issue. 

> 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


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

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089315#comment-13089315 ] 

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

Hi Shijin, 

Were you able to try this given solution?



> 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


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

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Srinivas N Jay (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396545#comment-13396545 ] 

Srinivas N Jay commented on AXIS2-5099:
---------------------------------------

Hi Harshana,

Thanks a lot. Your instructions worked for me.
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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