前提・実現したいこと
閲覧いただき、ありがとうございます。
Eclipse,Springを使ってJAVA,jspの勉強をしている初心者です。
今、組んでいるプログラムで謎のエラーが出ているのですが、
意味がさっぱりわかりません。
「スキーマ・ドキュメント'http://www.springframework.org/schema/tool/spring-tool-4.3.xsd'の読取りに失敗しました。」が気になります。
ネットで探しても(理解力がないこともあって)有効打がなく困っています
どなたかご教授いただけないでしょうか。
発生している問題・エラーメッセージ
情報: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\pleiades\java\8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/pleiades/eclipse/jre/bin/../jre/bin/server;C:/pleiades/eclipse/jre/bin/../jre/bin;C:/pleiades/eclipse/jre/bin/../jre/lib/amd64;C:\pleiades\java\8\bin; C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio 2010\OEM\AudioCore\;C:\Program Files\Fujitsu\F3BC4;C:\Program Files\Fujitsu\FJFP;C:\Program Files\MySQL\MySQL Server 8.0\bin\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\pleiades\eclipse;;. [金 7 05 16:29:30 JST 2019] 情報: Coyote HTTP/1.1を http-8080 で初期化します [金 7 05 16:29:31 JST 2019] 情報: Initialization processed in 596 ms [金 7 05 16:29:31 JST 2019] 情報: サービス Catalina を起動します [金 7 05 16:29:31 JST 2019] 情報: Starting Servlet Engine: Apache Tomcat/6.0.37 [金 7 05 16:29:31 JST 2019] 情報: Initializing Spring root WebApplicationContext [金 7 05 16:29:31 JST 2019] INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started INFO : スキーマ・ドキュメント'http://www.springframework.org/schema/tool/spring-tool-4.3.xsd'の読取りに失敗しました。 org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Fri Jul 05 16:29:31 JST 2019]; root of context hierarchy INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/root-context.xml] INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 318 ms 情報: Initializing Spring FrameworkServlet 'appServlet' [金 7 05 16:29:31 JST 2019] INFO : org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'appServlet': initialization started INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'appServlet-servlet': startup date [Fri Jul 05 16:29:31 JST 2019]; parent: Root WebApplicationContext INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml] WARN : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Ignored XML validation warning org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/mvc/spring-mvc.xsd; lineNumber: 12; columnNumber: 150; schema_reference.4: 1)ドキュメントが見つからなかった、2)ドキュメントを読み取れなかった、3)ドキュメントのルート要素が<xsd:schema>ではなかったため、 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:392) ・ ・ ・ INFO : org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring WARN : org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.hasAnnotation(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Z ERROR: org.springframework.web.servlet.DispatcherServlet - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.hasAnnotation(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Z ・ ・ ・ 重大: StandardWrapper.Throwable [金 7 05 16:29:32 JST 2019] 重大: サーブレット /address がload()例外を投げました [金 7 05 16:29:32 JST 2019] 情報: Coyote HTTP/1.1を http-8080 で起動します [金 7 05 16:29:32 JST 2019] 情報: JK: ajp13 listening on /0.0.0.0:8009 [金 7 05 16:29:32 JST 2019] 情報: Jk running ID=0 time=0/18 config=null [金 7 05 16:29:32 JST 2019] 情報: Server startup in 1646 ms [金 7 05 16:29:32 JST 2019]
試したこと
昨日から急に動作しなくなり、java,jspなどのソースをいじっていないことから、
環境周りの設定ファイルの内容をネットなどの情報を参考にしながら確認しています。
web.xml
pom.xml
servlet-context.xml
回答1件
あなたの回答
tips
プレビュー