###前提・実現したいこと
eclipseでテキストエディタプラグインを作ろうとしているのですがエラーになります。
かなり初歩の所で躓いていると思いますが情報が得られず困っています。
詳しい方いましたらエラーの解決方法をご教授ください。
###手順
・eclipseをインストール
Eclipse IDE for Eclipse Committers
Version: Mars.1 Release (4.5.1)
・下記サイトを参考にプロジェクトを作成
@IT
作って覚えるEclipseプラグイン(3):テキストエディタプラグインの実装
http://www.atmarkit.co.jp/ait/articles/0601/28/news018.html
・ワークスペースに下記xmlを用意
xml
1<?xml version="1.0"?> 2<!-- コメント --> 3<employees> 4 <employee id="00001" name="takezoe"/> 5</employees>
・Launch an Eclipse application in Debug mode より実行
・Window -> Preferences -> General -> Editors -> File Associations より *.xml を選択
・Associated editors: で Sample XML Editor を選択して Default にし、OKでウィンドウを閉じる
・File -> Open File... より先ほど作成したxmlを読み込む
###発生している問題・エラーメッセージ
エディタ上には
ERROR
とだけ表示されてあとは何も出ません。
プロジェクトの方のconsoleには下記のようなメッセージが出ています。
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://439.fwk892231982:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://439.fwk892231982:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
!SESSION 2016-01-23 01:27:39.986 -----------------------------------------------
eclipse.buildId=4.5.1.M20150904-0015
java.version=1.8.0_71
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ja_JP
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data E:\workspace/../runtime-EclipseApplication -dev file:E:/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.egit.ui 2 0 2016-01-23 01:29:31.426
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\k16'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Hello Worldのテストをした際にはSLF4Jのエラーが表示されつつも実行に成功したため、正直SLF4Jが原因なのかどうかなのかさえわからなくなっています。わかるかたいましたらよろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/01/23 06:14