cocon
10
2018-04-17 00:30:34
1
235

실행이 안됩니다. ㅠㅠ


4월 17, 2018 12:25:29 오전 org.apache.tomcat.util.digester.SetPropertiesRule begin

경고: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:spring_06_mvc' did not find a matching property.

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Server version:        Apache Tomcat/8.5.30

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Server built:          Apr 3 2018 20:04:09 UTC

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Server number:         8.5.30.0

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: OS Name:               Windows 10

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: OS Version:            10.0

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Architecture:          amd64

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Java Home:             C:\Program Files\Java\jre1.8.0_161

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: JVM Version:           1.8.0_161-b12

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: JVM Vendor:            Oracle Corporation

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: CATALINA_BASE:         C:\Users\jipjo\Documents\workspace-sts-3.9.2.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: CATALINA_HOME:         C:\Users\jipjo\Downloads\apache-tomcat-8.5.30

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Command line argument: -Dcatalina.base=C:\Users\jipjo\Documents\workspace-sts-3.9.2.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Command line argument: -Dcatalina.home=C:\Users\jipjo\Downloads\apache-tomcat-8.5.30

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Command line argument: -Dwtp.deploy=C:\Users\jipjo\Documents\workspace-sts-3.9.2.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Command line argument: -Djava.endorsed.dirs=C:\Users\jipjo\Downloads\apache-tomcat-8.5.30\endorsed

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.VersionLoggerListener log

정보: Command line argument: -Dfile.encoding=UTF-8

4월 17, 2018 12:25:29 오전 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

정보: 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\jre1.8.0_161\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_161/bin/server;C:/Program Files/Java/jre1.8.0_161/bin;C:/Program Files/Java/jre1.8.0_161/lib/amd64;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\jipjo\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\;C:\Program Files (x86)\ESTsoft\ALSee\x64;C:\Users\jipjo\Downloads\sts-bundle\sts-3.9.2.RELEASE;;.]

4월 17, 2018 12:25:29 오전 org.apache.coyote.AbstractProtocol init

정보: Initializing ProtocolHandler ["http-nio-8093"]

4월 17, 2018 12:25:29 오전 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

정보: Using a shared selector for servlet write/read

4월 17, 2018 12:25:29 오전 org.apache.coyote.AbstractProtocol init

정보: Initializing ProtocolHandler ["ajp-nio-8009"]

4월 17, 2018 12:25:29 오전 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

정보: Using a shared selector for servlet write/read

4월 17, 2018 12:25:29 오전 org.apache.catalina.startup.Catalina load

정보: Initialization processed in 766 ms

4월 17, 2018 12:25:29 오전 org.apache.catalina.core.StandardService startInternal

정보: Starting service [Catalina]

4월 17, 2018 12:25:29 오전 org.apache.catalina.core.StandardEngine startInternal

정보: Starting Servlet Engine: Apache Tomcat/8.5.30

4월 17, 2018 12:25:33 오전 org.apache.jasper.servlet.TldScanner scanJars

정보: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

4월 17, 2018 12:25:39 오전 org.apache.jasper.servlet.TldScanner scanJars

정보: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

4월 17, 2018 12:25:39 오전 org.apache.catalina.core.ApplicationContext log

정보: No Spring WebApplicationInitializer types detected on classpath

4월 17, 2018 12:25:40 오전 org.apache.catalina.core.ApplicationContext log

정보: Initializing Spring root WebApplicationContext

INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started

INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Apr 17 00:25:40 KST 2018]; 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.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@22ed4f73: defining beans []; root of factory hierarchy

INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 476 ms

4월 17, 2018 12:25:40 오전 org.apache.catalina.core.ApplicationContext log

정보: Initializing Spring FrameworkServlet 'dispatcher-one'

INFO : org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcher-one': initialization started

INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'dispatcher-one-servlet': startup date [Tue Apr 17 00:25:40 KST 2018]; parent: Root WebApplicationContext

INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatcher-one.xml]

INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@196eeff: defining beans [dataSource,sqlSessionFactory,sqlSession,dao,dao2,part01.HelloController#0,part02.HelloModelController#0,part03.HelloModelAndViewController#0,part04.HelloCommandController#0,memList,memInsert,orderInsert,part06.OrderListController#0,org.springframework.web.servlet.view.InternalResourceViewResolver#0]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@22ed4f73

INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@196eeff: defining beans [dataSource,sqlSessionFactory,sqlSession,dao,dao2,part01.HelloController#0,part02.HelloModelController#0,part03.HelloModelAndViewController#0,part04.HelloCommandController#0,memList,memInsert,orderInsert,part06.OrderListController#0,org.springframework.web.servlet.view.InternalResourceViewResolver#0]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@22ed4f73

ERROR: org.springframework.web.servlet.DispatcherServlet - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/dispatcher-one.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1396)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)

at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)

at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)

at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)

at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)

at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)

at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)

at javax.servlet.GenericServlet.init(GenericServlet.java:158)

at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4962)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:102)

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)

... 29 more

4월 17, 2018 12:25:40 오전 org.apache.catalina.core.ApplicationContext log

심각: StandardWrapper.Throwable

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/dispatcher-one.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1396)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)

at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)

at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)

at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)

at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)

at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)

at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)

at javax.servlet.GenericServlet.init(GenericServlet.java:158)

at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4962)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:102)

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)

... 29 more


4월 17, 2018 12:25:40 오전 org.apache.catalina.core.StandardContext loadOnStartup

심각: Servlet [dispatcher-one] in web application [/myweb] threw load() exception

org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:

PropertyAccessException 1:

org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]

at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1167)

at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:924)

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76)

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)

at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)

at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)

at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)

at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)

at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)

at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)

at javax.servlet.GenericServlet.init(GenericServlet.java:158)

at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4962)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]

at org.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:150)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1154)

... 33 more

Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1136)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at org.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:147)

... 38 more


4월 17, 2018 12:25:40 오전 org.apache.coyote.AbstractProtocol start

정보: Starting ProtocolHandler ["http-nio-8093"]

4월 17, 2018 12:25:40 오전 org.apache.coyote.AbstractProtocol start

정보: Starting ProtocolHandler ["ajp-nio-8009"]

4월 17, 2018 12:25:40 오전 org.apache.catalina.startup.Catalina start

정보: Server startup in 11252 ms

 이렇게 나오면서 실행이 안되네요 ㅠㅠ
0
0
  • 답변 1

  • aterilio
    198
    2018-04-17 01:42:37

    Could not load JDBC driver class [oracle.jdbc.OracleDriver]

    ...라고 쓰려고 했는데 이미 윗분께서.

    0
  • 로그인을 하시면 답변을 등록할 수 있습니다.