首页 > 代码库 > Java和Flex整合报错(三)

Java和Flex整合报错(三)

1、错误描述

信息: Initializing Spring FrameworkServlet 'mvc'
11-13 23:43:42 INFO [localhost-startStop-1] org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:455) - FrameworkServlet 'mvc': initialization started
11-13 23:43:42 INFO [localhost-startStop-1] org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:510) - Refreshing WebApplicationContext for namespace 'mvc-servlet': startup date [Thu Nov 13 23:43:42 CST 2014]; root of context hierarchy
11-13 23:43:43 INFO [localhost-startStop-1] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-servlet.xml]
11-13 23:43:44 INFO [localhost-startStop-1] org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:596) - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@141e00a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,cacheServer,myBatisTest,commonQueryDAOImpl,sysFrameSVImpl,beanFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,_messageBrokerHandlerAdapter,_messageBrokerDefaultHandlerMapping,_jsonConfigMapEditorConfigurer,_messageBrokerMessagingProcessor,_flexRemotingAnnotationPostProcessor,_messageBrokerRemotingProcessor,org.springframework.flex.core.ExceptionTranslationAdvice#0,org.springframework.flex.core.EndpointServiceMessagePointcutAdvisor#0,org.springframework.flex.core.MessageInterceptionAdvice#0,org.springframework.flex.core.EndpointServiceMessagePointcutAdvisor#1,_messageBrokerEndpointProcessor,_messageBroker,dataSource,transactionManager,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,deptMapper,usersMapper,org.springframework.flex.remoting.RemotingDestinationExporter#0]; root of factory hierarchy
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:98) - Configuring ehcache from URL: jar:file:/D:/MyEclipse/apache-tomcat-7.0.32/webapps/HBMB/WEB-INF/lib/buganalysis-0.0.1-SNAPSHOT.jar!/conf/ehcache.xml
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:150) - Configuring ehcache from InputStream
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationFactory.translateSystemProperties(ConfigurationFactory.java:208) - Did not find a system property for the ${multicastGroupPort} token specified in the configuration.Replacing with ""
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationFactory.translateSystemProperties(ConfigurationFactory.java:208) - Did not find a system property for the ${serverAndPort} token specified in the configuration.Replacing with ""
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationFactory.translateSystemProperties(ConfigurationFactory.java:215) - Found system property value of C:\Users\Administrator for the ${user.home} token specified in the configuration.
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationFactory.translateSystemProperties(ConfigurationFactory.java:208) - Did not find a system property for the ${token} token specified in the configuration.Replacing with ""
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) - Ignoring ehcache attribute xmlns:xsi
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.DiskStoreConfiguration.translatePath(DiskStoreConfiguration.java:141) - Disk Store Path: D:\MyEclipse\apache-tomcat-7.0.32\temp/ehcache
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.util.PropertyUtil.parseProperties(PropertyUtil.java:87) - propertiesString is null.
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationHelper.createCacheManagerEventListener(ConfigurationHelper.java:189) - No CacheManagerEventListenerFactory class specified. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1030) - No BootstrapCacheLoaderFactory class specified. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.Cache.createCacheWriter(Cache.java:1003) - CacheWriter factory not configured. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) - No CacheExceptionHandlerFactory class specified. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1030) - No BootstrapCacheLoaderFactory class specified. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.Cache.createCacheWriter(Cache.java:1003) - CacheWriter factory not configured. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) - No CacheExceptionHandlerFactory class specified. Skipping...
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:169) - Using diskstore path D:\MyEclipse\apache-tomcat-7.0.32\temp\ehcache
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:170) - Holding exclusive lock on D:\MyEclipse\apache-tomcat-7.0.32\temp\ehcache\.ehcache-diskstore.lock
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.store.disk.DiskStorageFactory.deleteFile(DiskStorageFactory.java:838) - Failed to delete file sample%0043ache.index
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:170) - Matching data file missing (or empty) for index file. Deleting index file D:\MyEclipse\apache-tomcat-7.0.32\temp\ehcache\sample%0043ache.index
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.store.disk.DiskStorageFactory.deleteFile(DiskStorageFactory.java:838) - Failed to delete file sample%0043ache.index
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) - Mocking Pass-Through Statistic: LOCAL_OFFHEAP_SIZE
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) - Mocking Pass-Through Statistic: LOCAL_OFFHEAP_SIZE_BYTES
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) - Mocking Pass-Through Statistic: WRITER_QUEUE_LENGTH
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) - Mocking Pass-Through Statistic: REMOTE_SIZE
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) - Mocking Pass-Through Statistic: LAST_REJOIN_TIMESTAMP
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: OFFHEAP_GET
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: OFFHEAP_PUT
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: OFFHEAP_REMOVE
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: XA_COMMIT
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: XA_ROLLBACK
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: XA_RECOVERY
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: CLUSTER_EVENT
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) - Mocking Operation Statistic: NONSTOP
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.Cache.initialise(Cache.java:1234) - Initialised cache: sampleCache
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationHelper.createCacheDecorators(ConfigurationHelper.java:334) - CacheDecoratorFactory not configured. Skipping for 'sampleCache'.
11-13 23:43:44 DEBUG [localhost-startStop-1] net.sf.ehcache.config.ConfigurationHelper.createDefaultCacheDecorators(ConfigurationHelper.java:364) - CacheDecoratorFactory not configured for defaultCache. Skipping for 'sampleCache'.
11-13 23:43:46 INFO [localhost-startStop-1] com.romeo.backbone.untils.Configuration.loadClasspathProperties(Configuration.java:41) - 加载classpath*:conf/bug_*.properties配置文件
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[/],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public com.romeo.backbone.entity.Dept com.romeo.backbone.controllers.MyBatisTest.main()
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//login],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.login(java.lang.String,java.lang.String)
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//fuck],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.main1()
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//xxoo],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.main2(java.lang.String)
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//shit],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.main3(java.lang.String)
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//shit2],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.main4()
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//insertDept],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.insertDept(com.romeo.backbone.entity.Dept)
11-13 23:43:46 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:178) - Mapped "{[//deleteDept],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.Object com.romeo.backbone.controllers.MyBatisTest.deleteDept(com.romeo.backbone.entity.Dept)
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.config.FlexConfigurationManager$ResourceResolverAdapter.getConfigurationFile(FlexConfigurationManager.java:184) - Loading Flex services configuration from: ServletContext resource [/WEB-INF/flex/services-config.xml]
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.config.FlexConfigurationManager$ResourceResolverAdapter.getIncludedFile(FlexConfigurationManager.java:199) - Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/remoting-config.xml]
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.config.FlexConfigurationManager$ResourceResolverAdapter.getIncludedFile(FlexConfigurationManager.java:199) - Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/proxy-config.xml]
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.config.FlexConfigurationManager$ResourceResolverAdapter.getIncludedFile(FlexConfigurationManager.java:199) - Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/messaging-config.xml]
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFactoryBean.java:144) - BlazeDS - Community Edition: 3.2.0.3978
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFactoryBean.java:154) - MessageBroker with id '_messageBroker' is starting.
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFactoryBean.java:173) - MessageBroker with id '_messageBroker' is ready (startup time: '231' ms)
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:308) - Default mapping to handler '_messageBroker'
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.remoting.RemotingDestinationExporter.createDestination(RemotingDestinationExporter.java:162) - Created remoting destination with id 'sysFrameSVImpl'
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.flex.remoting.RemotingDestinationExporter.initializeDestination(RemotingDestinationExporter.java:211) - Remoting destination 'sysFrameSVImpl' has been started started successfully.
11-13 23:43:47 INFO [localhost-startStop-1] org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:474) - FrameworkServlet 'mvc': initialization completed in 5039 ms
2014-11-13 23:43:47 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.32\webapps\host-manager
2014-11-13 23:43:47 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.32\webapps\manager
2014-11-13 23:43:48 org.apache.catalina.startup.HostConfig deployDirectory

2、错误描述


3、解决办法

Java和Flex整合报错(三)