SVN新导入web项目,编译没错,运行出现如下错误,求指点了!!

buguancheng 2016-01-26 04:02:43
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.63
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Jun 30 2015 08:08:33 UTC
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.63.0
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 7
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.1
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Java\jdk1.7.0_79\jre
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.7.0_79-b15
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: D:\apache-tomcat-7.0.63
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\apache-tomcat-7.0.63
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:56536
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\apache-tomcat-7.0.63
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\apache-tomcat-7.0.63
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\apache-tomcat-7.0.63/common/endorsed
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=D:\apache-tomcat-7.0.63\temp
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.library.path=C:\Java\jdk1.7.0_79\bin;D:\apache-tomcat-7.0.63\bin
一月 26, 2016 3:57:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dsun.io.useCanonCaches=false
一月 26, 2016 3:57:32 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.
一月 26, 2016 3:57:32 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
一月 26, 2016 3:57:34 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
一月 26, 2016 3:57:34 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
一月 26, 2016 3:57:34 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
一月 26, 2016 3:57:34 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2218 ms
一月 26, 2016 3:57:34 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
一月 26, 2016 3:57:34 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.63
一月 26, 2016 3:57:34 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\apache-tomcat-7.0.63\webapps\surfing01
一月 26, 2016 3:57:42 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.opensymphony.com/sitemesh/decorator is already defined
一月 26, 2016 3:57:42 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.opensymphony.com/sitemesh/page is already defined
一月 26, 2016 3:57:42 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
一月 26, 2016 3:57:42 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags is already defined
一月 26, 2016 3:57:42 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
log4j:WARN No such property [sqlname] in com.jshx.log.service.Log4jJDBCAppender.
一月 26, 2016 3:57:42 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
一月 26, 2016 3:57:46 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource2' defined in class path resource [spring/applicationContext.xml]: Could not resolve placeholder 'db.url2'
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:268)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:553)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:527)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

一月 26, 2016 3:57:46 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
一月 26, 2016 3:57:46 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [245] milliseconds.
一月 26, 2016 3:57:46 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/surfing01] startup failed due to previous errors
一月 26, 2016 3:57:46 下午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
一月 26, 2016 3:57:46 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/surfing01] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
一月 26, 2016 3:57:46 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\apache-tomcat-7.0.63\webapps\surfing01 has finished in 12,200 ms
一月 26, 2016 3:57:46 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
一月 26, 2016 3:57:46 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
一月 26, 2016 3:57:46 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 12297 ms
...全文
190 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
我要爆炸啦 2016-01-26
  • 打赏
  • 举报
回复
数据库问题吧 the JDBC Driver has been forcibly unregistered. Could not resolve placeholder 'db.url2' 自己看看数据库配置
伯爵大人 2016-01-26
  • 打赏
  • 举报
回复
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource2' defined in class path resource [spring/applicationContext.xml]: Could not resolve placeholder 'db.url2',应该是数据源失效了之类的吧

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧