Last active
December 17, 2015 18:49
-
-
Save relax-more/5656055 to your computer and use it in GitHub Desktop.
[eclipse] 初期設定でのはまりどころ集
This file contains hidden or 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
■ eclipse, tomcat 6系, console に出力される文字コードがおかしい場合 | |
eclipse.ini にあれを追加する | |
-Dfile.encoding=utf-8 | |
参考:http://krakenbeal.blogspot.jp/2011/07/eclipseutf-8.html | |
■ The APR based Apache Tomcat Native library。。。云々で怒られる | |
server.xml から下記の行をコメントアウトする | |
<!--APR library loader. Documentation at /docs/apr.html --> | |
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> | |
参考:http://d.hatena.ne.jp/necoyama3/20110119/1295451496 | |
■ Maven で設定しているFileがClassNotFoundException になる | |
WEB-INF/lib の下にjarが存在しないのが問題。 pom.xml には不必要な記載内容なので eclipse の設定ファイルで対応するのが美しい | |
詳しくは下記を参考 | |
参考:http://hiroisojpdiary.blogspot.jp/2012/03/stseclipseseversmavenjar.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment