You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Amita Bhandari (JIRA)" <ji...@apache.org> on 2011/02/02 06:09:28 UTC

[jira] Created: (CXF-3301) java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException

 java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-3301
                 URL: https://issues.apache.org/jira/browse/CXF-3301
             Project: CXF
          Issue Type: Bug
         Environment: windows,solaris
            Reporter: Amita Bhandari
            Priority: Blocker


Hi,

This is the error I am gettign with jdk 1.6.  jdk 1.5 works fine. 

java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException

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

        

[jira] Updated: (CXF-3301) java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException

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

Amita Bhandari updated CXF-3301:
--------------------------------

    Description: 
Hi,

This is the error I am gettign with jdk 1.6.  jdk 1.5 works fine. 

java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException.

Need help on this.

Thanks,

  was:
Hi,

This is the error I am gettign with jdk 1.6.  jdk 1.5 works fine. 

java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException


>  java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3301
>                 URL: https://issues.apache.org/jira/browse/CXF-3301
>             Project: CXF
>          Issue Type: Bug
>         Environment: windows,solaris
>            Reporter: Amita Bhandari
>            Priority: Blocker
>
> Hi,
> This is the error I am gettign with jdk 1.6.  jdk 1.5 works fine. 
> java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException.
> Need help on this.
> Thanks,

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

        

[jira] Updated: (CXF-3301) java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException

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

Daniel Kulp updated CXF-3301:
-----------------------------

    Fix Version/s: NeedMoreInfo


We would need more information to diagnose this.  A test case would be best.

If I go into apache-cxf-2.3.2/bin and run  "wsdl2java -d /tmp -xjc-Xts ../samples/wsdl_first/wsdl/CustomerService.wsdl", it runs fine and propertly generats the toString methods on the beans.





>  java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3301
>                 URL: https://issues.apache.org/jira/browse/CXF-3301
>             Project: CXF
>          Issue Type: Bug
>         Environment: windows,solaris
>            Reporter: Amita Bhandari
>            Priority: Blocker
>             Fix For: NeedMoreInfo
>
>
> Hi,
> This is the error I am gettign with jdk 1.6.  jdk 1.5 works fine. 
> java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException.
> Need help on this.
> Thanks,

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

        

[jira] Resolved: (CXF-3301) java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException

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

Daniel Kulp resolved CXF-3301.
------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: NeedMoreInfo)


It seems to be workng fine with 2.3.2 and request for more information has gone unanswered.

>  java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3301
>                 URL: https://issues.apache.org/jira/browse/CXF-3301
>             Project: CXF
>          Issue Type: Bug
>         Environment: windows,solaris
>            Reporter: Amita Bhandari
>            Priority: Blocker
>
> Hi,
> This is the error I am gettign with jdk 1.6.  jdk 1.5 works fine. 
> java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider org.apache.cxf.xjc.ts.ToStringPlugin could not be instantiated: java.lang.ClassCastException.
> Need help on this.
> Thanks,

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