Spring + Tomcatのエラーメッセージ

私は別のメッセージでWebアプリケーションに関するいくつかの助けを求めました。私は発生したエラーを修正しようとしました。次に、新しいエラーメッセージと設定ファイルの新しい状態を示します。このエラーを修正するためのヒントを教えてください。ありがとうございました。

以下は、私が言っている写真を描いた絵です。

-エラーメッセージ:

nov. 24, 2011 5:18:56 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin\;C:\MinGW\MSYS\1.0\local\bin\;C:\MinGW\MSYS\1.0\bin\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Eclipse\eclipse;;.
nov. 24, 2011 5:18:56 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:SpringMVC' did not find a matching property.
nov. 24, 2011 5:18:56 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
nov. 24, 2011 5:18:56 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
nov. 24, 2011 5:18:56 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 909 ms
nov. 24, 2011 5:18:56 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
nov. 24, 2011 5:18:56 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.21
nov. 24, 2011 5:18:57 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [547] milliseconds.
nov. 24, 2011 5:18:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
INFO  ContextLoader                   - Root WebApplicationContext: initialization started
INFO  XmlWebApplicationContext        - Refreshing o[email protected]192c06d: display name [Root WebApplicationContext]; startup date [Thu Nov 24 17:18:58 EST 2011]; root of context hierarchy
INFO  XmlBeanDefinitionReader         - Loading xml bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
INFO  XmlWebApplicationContext        - Bean factory for application context [o[email protected]192c06d]: org.s[email protected]673ab2
INFO  DefaultListableBeanFactory      - Pre-instantiating singletons in org.s[email protected]673ab2: defining beans [studentDao,jdbcTemplate,dataSource]; root of factory hierarchy
INFO  DriverManagerDataSource         - Loaded JDBC driver: com.mysql.jdbc.Driver
INFO  ContextLoader                   - Root WebApplicationContext: initialization completed in 522 ms
nov. 24, 2011 5:18:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'springapp'
INFO  DispatcherServlet               - FrameworkServlet 'springapp': initialization started
INFO  XmlWebApplicationContext        - Refreshing o[email protected]30b982: display name [WebApplicationContext for namespace 'springapp-servlet']; startup date [Thu Nov 24 17:18:58 EST 2011]; parent: o[email protected]192c06d
INFO  XmlBeanDefinitionReader         - Loading xml bean definitions from ServletContext resource [/WEB-INF/springapp-servlet.xml]
INFO  XmlWebApplicationContext        - Bean factory for application context [o[email protected]30b982]: org.s[email protected]8634b1
INFO  DefaultListableBeanFactory      - Pre-instantiating singletons in org.s[email protected]8634b1: defining beans [messageSource,studentListController,studentCreateController,loggingInterceptor,simpleUrlMapping,viewResolver]; parent: org.s[email protected]673ab2
INFO  DispatcherServlet               - FrameworkServlet 'springapp': initialization completed in 220 ms
nov. 24, 2011 5:18:59 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
nov. 24, 2011 5:18:59 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
nov. 24, 2011 5:18:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2347 ms
WARN  PageNotFound                    - No mapping found for HTTP request with URI [/SpringMVC/] in DispatcherServlet with name 'springapp'

-web.xmlファイル

<?xml version="1.0" encoding="UTF-8"?>

    SpringMVC

    <!-- The parameter tells about the location of configuration XML. Usually
    all the data access beans and service layer beans are kept here. You can register
    more than one xml here. -->
    
        contextConfigLocation
        WEB-INF/applicationContext.xml
    

    <!-- The listener is reponsible for building the spring container. It looks for
        all configuration xml as defined by parameter contextConfigLocation and also looks 
        for a configuration which is named as Dispatch Servlet name. In this case it will
        be named as springapp-servlet.xml -->
    
        
            org.springframework.web.context.ContextLoaderListener
        
    

    <!-- Dispatcher Servlet which traps all the request targeted for Spring MVC -->
    
        springapp
        
            org.springframework.web.servlet.DispatcherServlet
        
        1
    

    <!-- Mapping for the request. It can be anything -->
    
        springapp
        *.htm
    

-applicationContext.xml

<?xml version="1.0" encoding="UTF-8"?>


<!-- The Dao class -->

    


<!-- Template class to access JDBC code -->

    


<!-- Configuration for the data source -->

    
    <!-- -->
    
    <!-- -->
    
    


-springapp-servlet.xml

<?xml version="1.0" encoding="UTF-8"?>


    
        
            messages
        
    

    
        
    

    <!-- command class and command name are used to retrieve and set the 
        value as name value pair in HttpRequest and Response. The form view
        tells that when the request comes for this Controller than which
        form to display in which user input can be taken. -->

    
        
        
        
        
        
            
        
    

    

    
        
            
                
            
        
        
            
                
                    studentListController
                
                
                    studentCreateController
                
            
        
    

    
        
            /WEB-INF/jsp/
        
        
            .jsp
        
    


enter image description here

0
こんにちは@Dave Newton。あなたの答えをありがとう。ログに2つの警告があります。私は、«要求されたリソース()が利用できない»と思うアプリケーションのコンパイル中にメッセージがログの最後の行から来ています。私はアプリケーションをコンパイルしているときに«サーバ上で実行する»と思っています。
追加された 著者 cProg,
ログの最後の行を参照していますか? /SpringMVC/だけにリクエストしていますか?エラーはいつ発生しますか?
追加された 著者 Dave Newton,

答えはありません

0