[
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