cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3265) Compilation error for schemas with types named as standard java classes
Date Thu, 07 Apr 2011 22:09:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-3265.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.4
                   2.4
         Assignee: Daniel Kulp

> Compilation error for schemas with types named as standard java classes
> -----------------------------------------------------------------------
>
>                 Key: CXF-3265
>                 URL: https://issues.apache.org/jira/browse/CXF-3265
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.3.1
>            Reporter: Magnus Grimsell
>            Assignee: Daniel Kulp
>             Fix For: 2.4, 2.3.4
>
>
> I have a schema with a complex type named System. This results in a class named System.

> When the generated source code compiles I get an error because the service class uses
java.lang.System without an import. 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> c:\code\svn\sandbox\new-iipax-archive-ws\src\main\java\se\idainfront\schema\archive\Archive_Service.java:[37,18]
cannot find symbol
> symbol  : variable err
> location: class se.idainfront.schema.archive.System

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

Mime
View raw message