Idea
Crazy Architect
这个作者很懒,什么都没留下…
展开
-
intellij IDEA 报 非法字符 \65279 原因及解决方法
用eclipse创建的项目导入到 intellij IDEA 之后 编译时包 非法字符 '\65279'该问题产生的原因是 IDEA对以UTF8编码的文件保存时自动加上了BOM(UTF-8文件签名)解决的方法1.使用Eclipse编译器来进行编译(在settings里进行设置)2.使用文本编辑器(比如editplus和ultraeditor)来进行转码...原创 2021-08-20 09:42:08 · 1026 阅读 · 0 评论 -
maven jetty 启动后,不能修改静态文件,js,css,html
解决办法:1.从jetty的jar包中(位置可能不同,有的jetty-web中)拷贝一份webdefault.xml文件2.将webdefault.xml 中的useFileMappedBuffer 设置为false。<init-param> <param-name>useFileMappedBuffer</param-name> <param-value>false</param-value></init-para.原创 2021-08-05 10:38:41 · 217 阅读 · 0 评论 -
IntelliJ IDEA 删除自定义的archetype
添加比较简单,麻烦的是删除,因为IDEA没有提供按钮让我们删除误添加的archetype。这里以IntelliJIdea2018.3举例Windows: C:\Users\***\.IntelliJIdea2018.3\system\Maven\Indices\UserArchetypes.xmlLinux: ~/.IntelliJIdea2018.3/system/Maven/Indices/UserArchetypes.xmlMac: ~/Library/Caches/IntelliJId原创 2020-07-28 15:18:33 · 786 阅读 · 0 评论