strange problems while you are using Intellij IDEA
来源:互联网 发布:资料员学习软件 编辑:程序博客网 时间:2024/05/20 03:41
sometimes strange problems occur if you use IDEA,比如你用sbt或maven编译成功但是用IDEA编译报错报错,
此时一般是项目的字符集和IDEA默认字符集冲突的问题,解决方法就是统一设置,目前咱们项目字符集统一是UTF-8
但是有时候,还会出现一下问题,此时一般是只有少数的errors 多数的警告,改字符集的情况一般是多数的errors(一般上百)
解决办法如下:
$ rm -rf .idea*
$
sbt gen-idea
File/Open in IDEA
, answer yes
to the question about converting to the new project structure$
rm -rf projectFilesBackUp
to remove the backup files created during the conversion.
It gets a little annoying... when IDEA imports an SBT project it keeps track of dependency changes and updates stuff on the fly, not so with this work around.
0 0
- strange problems while you are using Intellij IDEA
- Why are you still not using Hudson?
- Are You Using .NET Remoting? Stop it!
- 1175. You are using safe update mode
- mysql You are using safe update mode
- 错误解决--Gradle you are using (3.3)
- intellij IDEA--- 报inspects a maven model for resolution problems
- Using IntelliJ IDEA to develop Lift applications
- Start Maven by Using intellij idea
- Pre-check while you are applying one-off patch
- Dude, are you still programming using if...then...else?
- Are You Using Abstract Classes, Polymorphism, and Interfaces? @ JDJ
- “you are using old package ‘base' version 3.x"
- You are not using the latest Platform SDK header/library
- Android: You are not using bash - builds will fail
- ARE YOU USING THE RIGHT SQL SERVER PERFORMANCE METRICS?
- you are using an old unsupported version of gradle 1.9
- Are you using SQL's Missing Index DMVs?
- 附加/分离存储的源代码分析
- java websocket
- fix导航条然后然滚动条隐藏
- [IOS 开发] __block的用途和实现原理
- linq中的contains条件(可循环)
- strange problems while you are using Intellij IDEA
- Treap树学习小结
- ARM内核和架构的关系(超形象)
- SpringMVC关于MyBatis通用公共Dao的实现
- hdu 1016 Prime Ring Problem
- oracle合理的使用索引原则
- CI中使用redis
- PowerDesigner导出excel
- PADS 9.5 layout 设置不同过孔 网路的颜色