2017-01-01から1年間の記事一覧

【DbUtils】java.sql.SQLException: Type 'NEWDATE' is not supported

このエラーはjava.util.Date型のプロパティに sql関数 date() をマッピングしようとした時に発生します。 date関数は、日付のみを返すためにマッピングに失敗します。 日付のみ扱う場合でも timestamp() 関数を使用しましょう。This error occurs when you t…

Tomcat設定 大量のファイルがあるContextでは、決して antiResourceLocking を true にしてはいけない (Tomcat setting.The Context with a lot of files, must never "antiResourceLocking " set true.)

大量のファイルがあるContextで antiResourceLocking を true にしてしまうと、 Tomcatが全てのファイルを temp にコピーしようとして起動できなくなる。If the Context with a lot of files never set "antiResourceLocking " be true, Tomcat can not star…

問題が発生したため、bluetooth共有を終了します。

bluetooth共有のデータを削除 ↓ ペアリングを解除して再ペアリング

JSPページで出力から無駄な改行を除去

本当に何度も何度も忘れる鳥頭なので

JSPファイルで 変数名"org" の変数を使用すると、include アクションが使えない

JSP

とあるJSPファイルで <jsp:include page="/WEB-INF/jspf/android/header.jspf" flush="true" />とした所The primitive type boolean of org does not have a field apacheというエラーが出てコンパイルができなかった。 何故なのかさっぱりわからなかったのだが、 "org" の部分にピンときて変数名を変えたら直った。</jsp:include>