Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5414

Trying to compile code using maven 3.0.4 version but getting error - illegal character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.4
    • None
    • POM::Encoding
    • None
    • Windows 7 32 bit, JDK 1.6, Maven 3.0.4

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              madhurmania Madhur Naidu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: