Stacked Q&A

garbled when copy code from ubuntu to windows
  • 0 voting
  • 2021-12-27 00:00

    1. I work on ubuntu 12.04 and my friend works on win7.
    2. It is java project based on maven. 
    3. We both use eclipse with UTF-8

    I archieve my project to, and send it with email.

    1. `mvn jetty:run` works fun for him.
    2. `mvn jetty:run` not works after `mvn clean`. 
       [error: package com.myproject.xxxx not exist]

    So, what cause the problem?

  • 0 48 0 0
첨부 파일
총 0개의 답변이있습니다.
  • 답변일: 2021-12-27 00:00

    Right click on file in Eclipse, then properties -> resource - change text file encoding to UTF-8

    This can also be set as the project or workspace default

  • 0 0 퍼블 채택!