[ https://jira.codehaus.org/browse/MCOMPILER-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316292#comment-316292 ]
Madhur Naidu commented on MCOMPILER-193: ---------------------------------------- Hi Robert, You were right. There was some issue with the file and somehow we were able to convert the file in DOS format then we were able to make the build. We can close this issue now. Thanks for your support. > Trying to compile code using maven 3.0.4 version but getting error - illegal > character > -------------------------------------------------------------------------------------- > > Key: MCOMPILER-193 > URL: https://jira.codehaus.org/browse/MCOMPILER-193 > Project: Maven 2.x Compiler Plugin > Issue Type: Bug > Environment: Windows 7 32 bit, JDK 1.6, Maven 3.0.4 > Reporter: Madhur Naidu > Attachments: pom.xml > > > Hi, > I am getting below mentioned error while trying to compile my java source > code using maven. > [INFO] Compiling 1072 source files to D:\mifidbe\target\classes > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > \mifidbe\src\main\java\com\infosys\useradmin\userdetails\datalayer\dao\UserDAOImpl.java:[1,0] > illegal character: \65279 > [INFO] 1 error > PFA the detailed trace of the issue in text document. It looks like UTF-8 > encoding may be an issue but not sure though. Please help me in resloving > this. > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira