-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from summermore/master
change the file to markdown
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 序 | ||
IDEA编译出错信息 | ||
|
||
|
||
**将eclipse里的java文件拷贝到idea里,文件没提示任何错误,编译提示如下:** | ||
|
||
IntelliJ IDEA中错误提示:java: Syntax error on token "Invalid Character", delete this token** | ||
IntelliJ IDEA中错误提示:“非法字符: \65279"** | ||
|
||
**解决方案:** | ||
|
||
在网上找了解决方法的地址 [解决方法] (http:https://qiaoshi.iteye.com/blog/1850027) | ||
将eclipse里的java文件拷贝到idea里,文件没提示任何错误,编译提示如下: | ||
IntelliJ IDEA中错误提示:java: Syntax error on token "Invalid Character", delete this token** | ||
IntelliJ IDEA中错误提示:“非法字符: \65279"** | ||
由于我在MAC下尝试了网上的第一种解决方案不行,第二种方案由于电脑上没有NotePad++所以没有尝试 | ||
最后我的解决方法是将提示编译报错的文件,将file encodings由utf-8改成utf-16,再将utf-16改成utf-8就好了 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,3 +129,4 @@ | |
|
||
|
||
## 推荐安装插件 | ||
* Key Promoter |