同一个程序,在Idea中运行良好,但在myeclipse中经常报错。求解
同一个程序,在Idea中运行良好,但在myeclipse8.6中经常报错。很是郁闷,我比较喜欢使用myeclipse,现在手头任务完成了,很想解决这个问题,希望大家帮助解...
同一个程序,在Idea中运行良好,但在myeclipse 8.6中经常报错。很是郁闷,我比较喜欢使用myeclipse,现在手头任务完成了,很想解决这个问题,希望大家帮助解决下这个问题。我知道表面原因是找不到相应的文件,可是事实上这些问题都存在,反复clean和package过,依然如此。求解,感激不尽!!!
注:我使用的是myeclipse 8.6+maven2+tomcat6的开发环境
2012-1-16 10:41:00 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
[ 0] INFO - work.web.context.ContextLoader - Root WebApplicationContext: initialization started
[ 64] INFO - pport.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@15b555: display name [Root WebApplicationContext]; startup date [Mon Jan 16 10:41:00 CST 2012]; root of context hierarchy
[ 178] INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-config.xml]
Could not resolve placeholder 'vendorcentral.jdbc.datasource.type' in [spring-config-datasource-${vendorcentral.jdbc.datasource.type}.xml] as system property: neither system property nor environment variable found
[ 642] INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-config-datasource-${vendorcentral.jdbc.datasource.type}.xml]
[ 649] ERROR - work.web.context.ContextLoader - Context initialization failed 展开
注:我使用的是myeclipse 8.6+maven2+tomcat6的开发环境
2012-1-16 10:41:00 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
[ 0] INFO - work.web.context.ContextLoader - Root WebApplicationContext: initialization started
[ 64] INFO - pport.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@15b555: display name [Root WebApplicationContext]; startup date [Mon Jan 16 10:41:00 CST 2012]; root of context hierarchy
[ 178] INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-config.xml]
Could not resolve placeholder 'vendorcentral.jdbc.datasource.type' in [spring-config-datasource-${vendorcentral.jdbc.datasource.type}.xml] as system property: neither system property nor environment variable found
[ 642] INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-config-datasource-${vendorcentral.jdbc.datasource.type}.xml]
[ 649] ERROR - work.web.context.ContextLoader - Context initialization failed 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询