2014-01-01から1ヶ月間の記事一覧
Tomcatで出力されるログ リストがここにあった。そこで自分が開発してるアプリで使ってるのが ・catalina.out → Tomcatの起動・停止等のログが流れる。 ・localhost.[date] → JavaでのNullPointerExceptionやJSPのエラーなどがここに吐出される。 の2つ。 To…
1. pom.xmlに依存関係追加 <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.5</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>1.7.5</version> <scope>runtime</scope> </dependency> <dependency> <groupId>…</groupid></dependency>
DBなどの設定ファイルなど、コミットしたくない場合の設定remoteの変更を受け入れる場合 #設定 git update-index --assume-unchanged hoge 受け入れない場合 git update-index --skip-worktree hoge
(pluginインストール済みの設定) hoge : gitリポジトリがある干すとネーム hogeorg : gitリポジトリの組織名 or ユーザー名 hogerepo : hogeorgによって管理されているリポジトリ 1. githubのdeploy keyを設定 sshkeyの作成 ssh-keygen -t rsa -N "" -f hoge…
複数読み込み <context:property-placeholder order="1" location="classpath:properties/hogehoge.properties" /> <context:property-placeholder order="2" location="classpath:properties/hugahuga.properties" /> 以上のようにして、複数ファイルを定義することが出来る。 hogehoge, hugahuga内に重複があるとSpringでは起動時にエラーになる。 肝はorder 環境…</context:property-placeholder></context:property-placeholder>