Java and Flex Integration Error (v)

Source: Internet
Author: User
Tags addchild session id unsupported apache tomcat

1. Error description

Usage:java Org.apache.catalina.startup.Catalina [-config {pathname}] [-nonaming] {-help | start | stop}2014-11-16  15:20:57 org.apache.catalina.core.AprLifecycleListener init info: Loaded APR based Apache Tomcat Native Library 1.1.24 using Apr version 1.4.6.2014-11-16 15:20:58 org.apache.catalina.core.AprLifecycleListener init info: Apr Capabilities:ipv6 [ True], Sendfile [true], accept filters [FALSE], random [true].2014-11-16 15:20:59 Org.apache.catalina.core.AprLifecycleListener Initializessl Information: OpenSSL successfully initialized (OpenSSL 1.0.1c 2014-11-16 15:21:01 org.apache.coyote.AbstractProtocol init info: Initializing protocolhandler ["http-apr-8080"] 2014-11-16 15:21:01 org.apache.coyote.AbstractProtocol init info: Initializing protocolhandler ["ajp-apr-8009"] 2014-11-16 15:21:01 Org.apache.catalina.startup.Catalina Load Info: Initialization processed in 5382 ms2014-11-16 15:21:01 Org.apache.catalina.core.StandardService startinternal Information: Starting service catalina2014-11-16 15:21:01 Org.apache.catalina.core.StandardEngine startinternal Info: Starting Servlet engine:apache tomcat/ 7.0.322014-11-16 15:21:01 org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web Application Directory D:\MyEclipse\apache-tomcat-7.0.32\webapps\buganalysis2014-11-16 15:21:10 Org.apache.catalina.core.ApplicationContext Log Info: No Spring webapplicationinitializer types detected on classpath2014-11-16 15:21:10 org.apache.catalina.util.SessionIdGenerator createsecurerandom info: Creation of SecureRandom instance for session ID generation using [Sha1prng] took [171] milliseconds.2014-11-16 15:21:11 org.apache.ca Talina.core.ApplicationContext Log Info: Initializing Spring frameworkservlet ' mvc ' 11-16 15:21:11 INFO [ Localhost-startstop-1] Org.springframework.web.servlet.FrameworkServlet.initServletBean (Frameworkservlet.java : 455)-Frameworkservlet ' MVC ': initialization started11-16 15:21:11 INFO [localhost-startstop-1] Org.springframework.context.support.AbstractApplicationContext.Preparerefresh (abstractapplicationcontext.java:510)-Refreshing webapplicationcontext for namespace ' Mvc-servlet ': startup Date [Sun Nov 15:21:11 CST 2014]; Root of context hierarchy11-16 15:21:11 INFO [localhost-startstop-1] Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (Xmlbeandefinitionreader.java : 315)-Loading XML bean definitions from class path resource [applicationcontext-mvc.xml]11-16 15:21:12 INFO [localhost-s TartStop-1] Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons ( defaultsingletonbeanregistry.java:444)-destroying singletons in org.s[email protected]84de3c:defining beans [ Flexlogincontroller,userservicescontroller, Org.springframework.context.annotation.internalConfigurationAnnotationProcessor, Org.springframework.context.annotation.internalAutowiredAnnotationProcessor, Org.springframework.context.annotation.internalRequiredAnnotationProcessor, Org.springframework.context.annotation.internaLcommonannotationprocessor,org.springframework.web.servlet.handler.beannameurlhandlermapping#0, Org.springframework.web.servlet.mvc.annotation.defaultannotationhandlermapping#0,_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,org.springframework.context.annotation.configurationclasspostprocessor.importawareprocessor]; Root of Factory hierarchy11-16 15:21:12 ERROR [localhost-startstop-1] Org.springframework.web.servlet.FrameworkServlet.initServletBean (frameworkservlet.java:468)-Context Initialization failedorg.springframework.beans.factory.cAnnotloadbeanclassexception:error loading class [Com.romeo.backbone.flex.FlexLoginController] for beans with name ' Flexlogincontroller ' defined in file [D:\MyEclipse\apache-tomcat-7.0.32\webapps\buganalysis\WEB-INF\classes\com\ Romeo\backbone\flex\flexlogincontroller.class]: Problem with class file or dependent class; Nested exception is Java.lang.unsupportedclassversionerror:com/romeo/backbone/flex/flexlogincontroller: Unsupported Major.minor version 51.0 (unable to load class Com.romeo.backbone.flex.FlexLoginController) at Org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (abstractbeanfactory.java:1269) At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType ( abstractautowirecapablebeanfactory.java:581) at Org.springframework.beans.factory.support.AbstractBeanFactory.getType (abstractbeanfactory.java:573) at Org.springframework.flex.config.RemotingAnnotationPostProcessor.findRemotingDestinations ( Remotingannotationpostprocessor.java:148) at Org.springframework.flex.config.RemotingAnnotationPostProcessor.postProcessBeanFactory ( remotingannotationpostprocessor.java:79) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( abstractapplicationcontext.java:694) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( abstractapplicationcontext.java:684) at Org.springframework.context.support.AbstractApplicationContext.refresh ( abstractapplicationcontext.java:461) at Org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext ( frameworkservlet.java:652) at Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext ( frameworkservlet.java:600) at Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext ( frameworkservlet.java:666) at Org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext ( frameworkservlet.java:519) at Org.springframework.web.servlet.FramewoRkservlet.initservletbean (frameworkservlet.java:460) at Org.springframework.web.servlet.HttpServletBean.init ( httpservletbean.java:136) at Javax.servlet.GenericServlet.init (genericservlet.java:160) at Org.apache.catalina.core.StandardWrapper.initServlet (standardwrapper.java:1266) at Org.apache.catalina.core.StandardWrapper.loadServlet (standardwrapper.java:1185) at Org.apache.catalina.core.StandardWrapper.load (standardwrapper.java:1080) at Org.apache.catalina.core.StandardContext.loadOnStartup (standardcontext.java:5027) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5314) 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:633) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1105) at Org.apache.catalinA.startup.hostconfig$deploydirectory.run (hostconfig.java:1664) at java.util.concurrent.executors$ Runnableadapter.call (executors.java:441) at Java.util.concurrent.futuretask$sync.innerrun (FutureTask.java:303) at Java.util.concurrent.FutureTask.run (futuretask.java:138) at java.util.concurrent.threadpoolexecutor$ Worker.runtask (threadpoolexecutor.java:886) at Java.util.concurrent.threadpoolexecutor$worker.run ( threadpoolexecutor.java:908) at Java.lang.Thread.run (thread.java:619) caused by: Java.lang.unsupportedclassversionerror:com/romeo/backbone/flex/flexlogincontroller:unsupported Major.minor Version 51.0 (Unable to load class Com.romeo.backbone.flex.FlexLoginController) at Org.apache.catalina.loader.WebappClassLoader.findClassInternal (webappclassloader.java:2908) at Org.apache.catalina.loader.WebappClassLoader.findClass (webappclassloader.java:1173) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1681) at Org.apache.catalina.loader.WebappClassLoader.loadClass (Webappclassloader.java:1559) at Org.springframework.util.ClassUtils.forName (classutils.java:260) at Org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass (Abstractbeandefinition.java : 416) at Org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass ( abstractbeanfactory.java:1287) at Org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (abstractbeanfactory.java:1258) ... More2014-11-16 15:21:12 org.apache.catalina.core.ApplicationContext Log Critical: StandardWrapper.Throwableorg.springframework.beans.factory.CannotLoadBeanClassException:Error Loading class [ Com.romeo.backbone.flex.FlexLoginController] for beans with the name ' Flexlogincontroller ' defined in file [D:\MyEclipse\ Apache-tomcat-7.0.32\webapps\buganalysis\web-inf\classes\com\romeo\backbone\flex\flexlogincontroller.class]: Problem with class file or dependent class; Nested exception is Java.lang.unsupportedclassversionerror:com/romeo/backbone/flex/flexlogincontroller: Unsupported Major.minor version 51.0 (unable to load class Com.romeo.backbone.flex.FlexLoginController) at Org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (abstractbeanfactory.java:1269) At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType ( abstractautowirecapablebeanfactory.java:581) at Org.springframework.beans.factory.support.AbstractBeanFactory.getType (abstractbeanfactory.java:573) at Org.springframework.flex.config.RemotingAnnotationPostProcessor.findRemotingDestinations ( remotingannotationpostprocessor.java:148) at Org.springframework.flex.config.RemotingAnnotationPostProcessor.postProcessBeanFactory ( remotingannotationpostprocessor.java:79) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( abstractapplicationcontext.java:694) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( abstractapplicationcontext.java:684) at Org.spriNgframework.context.support.AbstractApplicationContext.refresh (abstractapplicationcontext.java:461) at Org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext ( frameworkservlet.java:652) at Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext ( frameworkservlet.java:600) at Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext ( frameworkservlet.java:666) at Org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext ( frameworkservlet.java:519) at Org.springframework.web.servlet.FrameworkServlet.initServletBean ( frameworkservlet.java:460) at Org.springframework.web.servlet.HttpServletBean.init (httpservletbean.java:136) at Javax.servlet.GenericServlet.init (genericservlet.java:160) at Org.apache.catalina.core.StandardWrapper.initServlet (standardwrapper.java:1266) at Org.apache.catalina.core.StandardWrapper.loadServlet (standardwrapper.java:1185) at Org.apache.catalina.core.StandardWrapper.load (STANDARDWRAPPER.Java:1080) at Org.apache.catalina.core.StandardContext.loadOnStartup (standardcontext.java:5027) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5314) 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:633) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1105) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1664) at Java.util.concurrent.executors$runnableadapter.call (executors.java:441) at java.util.concurrent.futuretask$ Sync.innerrun (futuretask.java:303) at Java.util.concurrent.FutureTask.run (futuretask.java:138) at Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:886) at Java.util.concurrent.threadpoolexecutor$worker.run (THREADPOOLEXECUTOR.Java:908) at Java.lang.Thread.run (thread.java:619) caused by:java.lang.unsupportedclassversionerror:com/romeo/ backbone/flex/flexlogincontroller:unsupported Major.minor version 51.0 (Unable to load class Com.romeo.backbone.flex.FlexLoginController) at Org.apache.catalina.loader.WebappClassLoader.findClassInternal ( webappclassloader.java:2908) at Org.apache.catalina.loader.WebappClassLoader.findClass (Webappclassloader.java : 1173) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1681) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1559) at Org.springframework.util.ClassUtils.forName (classutils.java:260) at Org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass (Abstractbeandefinition.java : 416) at Org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass ( abstractbeanfactory.java:1287) at Org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (Abstractbeanfactory.java:1258) ... more2014-11-16 15:21:12 org.apache.catalina.core.StandardContext loadonstartup severity: servlet/buganalysis threw load () exceptionjava.lang.unsupportedclassversionerror:com/romeo/backbone/flex/flexlogincontroller:unsupported Major.minor version 51.0 (unable to load class Com.romeo.backbone.flex.FlexLoginController) at Org.apache.catalina.loader.WebappClassLoader.findClassInternal (webappclassloader.java:2908) at Org.apache.catalina.loader.WebappClassLoader.findClass (webappclassloader.java:1173) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1681) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1559) at Org.springframework.util.ClassUtils.forName (classutils.java:260) at Org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass (Abstractbeandefinition.java : 416) at Org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass ( abstractbeanfactory.java:1287) at Org.springframewOrk.beans.factory.support.AbstractBeanFactory.resolveBeanClass (abstractbeanfactory.java:1258) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType ( abstractautowirecapablebeanfactory.java:581) at Org.springframework.beans.factory.support.AbstractBeanFactory.getType (abstractbeanfactory.java:573) at Org.springframework.flex.config.RemotingAnnotationPostProcessor.findRemotingDestinations ( remotingannotationpostprocessor.java:148) at Org.springframework.flex.config.RemotingAnnotationPostProcessor.postProcessBeanFactory ( remotingannotationpostprocessor.java:79) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( abstractapplicationcontext.java:694) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( abstractapplicationcontext.java:684) at Org.springframework.context.support.AbstractApplicationContext.refresh ( abstractapplicationcontext.java:461) at ORG.SPRINGFRAMEWORK.WEb.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext (frameworkservlet.java:652) at Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (frameworkservlet.java:600) at Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (frameworkservlet.java:666) at Org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext (frameworkservlet.java:519) at Org.springframework.web.servlet.FrameworkServlet.initServletBean (frameworkservlet.java:460) at Org.springframework.web.servlet.HttpServletBean.init (httpservletbean.java:136) at Javax.servlet.GenericServlet.init (genericservlet.java:160) at Org.apache.catalina.core.StandardWrapper.initServlet (standardwrapper.java:1266) at Org.apache.catalina.core.StandardWrapper.loadServlet (standardwrapper.java:1185) at Org.apache.catalina.core.StandardWrapper.load (standardwrapper.java:1080) at Org.apache.catalina.core.StandardContext.loadOnStartup (standardcontext.java:5027) at org.apache.catalina.core.StAndardcontext.startinternal (standardcontext.java:5314) 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:633) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1105) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1664) at Java.util.concurrent.executors$runnableadapter.call (executors.java:441) at java.util.concurrent.futuretask$ Sync.innerrun (futuretask.java:303) at Java.util.concurrent.FutureTask.run (futuretask.java:138) at Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:886) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908) at Java.lang.Thread.run ( thread.java:619) 2014-11-16 15:21:12 org.apache.catalina.startup.HostConfig deploydirectory LetterInterest: Deploying Web application directory D:\MyEclipse\apache-tomcat-7.0.32\webapps\docs2014-11-16 15:21:12 Org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\ Apache-tomcat-7.0.32\webapps\examples2014-11-16 15:21:12 org.apache.catalina.core.ApplicationContext Log information: Contextlistener:contextinitialized () 2014-11-16 15:21:12 org.apache.catalina.core.ApplicationContext log information: Sessionlistener:contextinitialized () 2014-11-16 15:21:12 org.apache.catalina.core.ApplicationContext log information: contextlistener:attributeadded (' Org.apache.jasper.compiler.TldLocationsCache ', ' [email protected] ') 2014-11-16 15:21:12 org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\ Myeclipse\apache-tomcat-7.0.32\webapps\host-manager2014-11-16 15:21:12 Org.apache.catalina.startup.HostConfig Deploydirectory Info: Deploying Web application Directory D:\MyEclipse\apache-tomcat-7.0.32\webapps\manager2014-11-16 15:21:12 Org.apacHe.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\ Apache-tomcat-7.0.32\webapps\smesalesassistant2014-11-16 15:21:12 org.apache.coyote.AbstractProtocol Start info: Starting Protocolhandler ["http-apr-8080"]2014-11-16 15:21:12 org.apache.coyote.AbstractProtocol start info: Starting Protocolhandler ["ajp-apr-8009"]2014-11-16 15:21:12 Org.apache.catalina.startup.Catalina start info: Server startup in 11796 ms

2. Cause of error


3. Solutions

Java and Flex Integration Error (v)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.