私のプログラム、(基本的に異なるヘッダと名前を除いてGWTのサンプルコードは、)完璧を働いていた - !私はfavicon.ICO
ファイルと<link rel="icon" href="favicon.ico" type="image/x-icon" />
を追加するまで!今、私のプログラムを返します:GWTのfavicon.icoを返すエラー(GWTとJava)
[WARN] Unable to process '.../war/WEB-INF/web.xml' for servlet validation
org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/nonvalidating/load-external-dtd
at gnu.xml.aelfred2.JAXPFactory.setFeature(JAXPFactory.java:102)
at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:188)
at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:172)
...
[ERROR] Failure while parsing XML
org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/nonvalidating/load-external-dtd
at gnu.xml.aelfred2.JAXPFactory.setFeature(JAXPFactory.java:102)
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:324)
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
...
[ERROR] Unexpected error while processing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355)
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
[ERROR] shell failed in doStartup method
私は今を削除しました。favicon.ICO
です。私のプログラムはです。は同じエラーを返します!
コードまたはfavicon
に問題がありますか? 私は本当に混乱していますGWT Eclipseプラグインに
を使用しています!どんな体でもかまいません私を助けてください?
いいえ、私は 'CLASSPATH'システム変数で何も変更していません。 –
@Java私はより多くの情報で私の答えを編集しました。あなたの問題を解決することを願っています。 –
私の 'CLASSPATH'と' Path'はうまく見えます(私は 'Windows XP'を使っています)。私は非常に経験豊富なプログラマーではない、あなたは何を期待するか教えてくれますか?それに 'GWT'について何か付けるべきですか?私の 'CLASSPATH'は'。; 'で、' PATH'は 'H:¥Program Files¥Java¥jdk1.6.0_25¥bin;%SystemRoot%¥system32 ...'です。 –