MyEclipse10+Flash Builder4+BlazeDS+Tomcat7配置J2EE Web項目報錯(一)

來源:互聯網
上載者:User

標籤:myeclipse   flash builder   java web   flex   

1、錯誤描述

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ]  { -help | start | stop }2014-6-23 20:15:55 org.apache.catalina.core.AprLifecycleListener init資訊: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.2014-6-23 20:15:55 org.apache.catalina.core.AprLifecycleListener init資訊: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].2014-6-23 20:15:56 org.apache.catalina.core.AprLifecycleListener initializeSSL資訊: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)2014-6-23 20:15:57 org.apache.coyote.AbstractProtocol init資訊: Initializing ProtocolHandler ["http-apr-8686"]2014-6-23 20:15:58 org.apache.coyote.AbstractProtocol init資訊: Initializing ProtocolHandler ["ajp-apr-8009"]2014-6-23 20:15:58 org.apache.catalina.startup.Catalina load資訊: Initialization processed in 3934 ms2014-6-23 20:15:58 org.apache.catalina.core.StandardService startInternal資訊: Starting service Catalina2014-6-23 20:15:58 org.apache.catalina.core.StandardEngine startInternal資訊: Starting Servlet Engine: Apache Tomcat/7.0.532014-6-23 20:16:00 org.apache.tomcat.websocket.server.WsSci onStartup資訊: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available. 2014-6-23 20:16:00 org.apache.catalina.util.SessionIdGenerator createSecureRandom資訊: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [255] milliseconds.2014-6-23 20:16:01 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\docs2014-6-23 20:16:01 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\examples2014-6-23 20:16:02 org.apache.catalina.core.ApplicationContext log資訊: ContextListener: contextInitialized()2014-6-23 20:16:02 org.apache.catalina.core.ApplicationContext log資訊: SessionListener: contextInitialized()2014-6-23 20:16:02 org.apache.catalina.core.ApplicationContext log資訊: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', '[email protected]')2014-6-23 20:16:02 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\host-manager2014-6-23 20:16:02 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\manager2014-6-23 20:16:02 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\MyFlex2014-6-23 20:16:04 com.sun.faces.config.ConfigureListener contextInitialized資訊: 初始化上下文 '/MyFlex' 的 Mojarra 2.0.3 (FCS b03)2014-6-23 20:16:05 com.sun.faces.spi.InjectionProviderFactory createInstance資訊: JSF1048:有 PostConstruct/PreDestroy 注釋。標有這些注釋的 ManagedBeans 方法將表示注釋已處理。**** MessageBrokerServlet in application 'BlazeDS' failed to initialize due to runtime exception:   Exception: flex.messaging.MessageException: Cannot create class of type 'flex.samples.DatabaseCheckService'. Type 'flex.samples.DatabaseCheckService' not found.at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:70)at flex.messaging.MessageBroker.createService(MessageBroker.java:969)at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java:358)at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:117)at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:132)at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)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:632)at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229)at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)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-6-23 20:16:06 org.apache.catalina.core.StandardContext loadOnStartup嚴重: Servlet /MyFlex threw load() exceptionflex.messaging.MessageException: Cannot create class of type 'flex.samples.DatabaseCheckService'. Type 'flex.samples.DatabaseCheckService' not found.at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:70)at flex.messaging.MessageBroker.createService(MessageBroker.java:969)at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java:358)at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:117)at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:132)at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)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:632)at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229)at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)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-6-23 20:16:06 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\ROOT2014-6-23 20:16:06 org.apache.catalina.startup.HostConfig deployDirectory資訊: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\StudentSystem2014-6-23 20:16:09 com.sun.faces.config.ConfigureListener contextInitialized資訊: 初始化上下文 '/StudentSystem' 的 Mojarra 2.0.3 (FCS b03)2014-6-23 20:16:09 com.sun.faces.spi.InjectionProviderFactory createInstance資訊: JSF1048:有 PostConstruct/PreDestroy 注釋。標有這些注釋的 ManagedBeans 方法將表示注釋已處理。2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Parsing configuration file [struts-default.xml]2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Unable to locate configuration files of the name struts-plugin.xml, skipping2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Parsing configuration file [struts-plugin.xml]2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Unable to locate configuration files of the name struts.xml, skipping2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Parsing configuration file [struts.xml]2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper)2014-6-23 20:16:10 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info資訊: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)2014-6-23 20:16:11 org.apache.coyote.AbstractProtocol start資訊: Starting ProtocolHandler ["http-apr-8686"]2014-6-23 20:16:11 org.apache.coyote.AbstractProtocol start資訊: Starting ProtocolHandler ["ajp-apr-8009"]2014-6-23 20:16:11 org.apache.catalina.startup.Catalina start資訊: Server startup in 13101 ms

2、錯誤原因


3、解決辦法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.