Caused BY:JAVA.LANG.CLASSNOTFOUNDEXCEPTION:OGNL. PropertyAccessor

Source: Internet
Author: User
Tags addchild session id openssl propertyaccessor apache tomcat

1. Error description

Usage:java Org.apache.catalina.startup.Catalina [-config {pathname}] [-nonaming] {-help | start | Stop}2014-7-10 2 3:00:04 org.apache.catalina.core.AprLifecycleListener init info: Loaded APR based Apache Tomcat Native Library 1.1.29 using A PR version 1.4.8.2014-7-10 23:00:05 org.apache.catalina.core.AprLifecycleListener init info: APR Capabilities:ipv6 [True] , Sendfile [true], accept filters [FALSE], random [true].2014-7-10 23:00:06 Org.apache.catalina.core.AprLifecycleListener Initializessl Info: OpenSSL successfully initialized (OpenSSL 1.0.1e 2014-7-10 23:00:07 org.apache.coyote.AbstractProtocol init information: Initializing protocolhandler ["http-apr-8686"] 2014-7-10 23:00:07 org.apache.coyote.AbstractProtocol init info: Initializing protocolhandler ["ajp-apr-8009"]2014-7-10 23:00:07 Org.apache.catalina.startup.Catalina Load Info: Initialization processed in 3914 ms2014-7-10 23:00:07 Org.apache.catalina.core.StandardService startinternal Info: Starting service catalina2014-7-10 23:00:07 orG.apache.catalina.core.standardengine startinternal Info: Starting Servlet engine:apache tomcat/7.0.532014-7-10 23:00:10 org.apache.tomcat.websocket.server.WsSci onstartup Info: JSR 356 websocket (Java WebSocket 1.0) support isn't avail Able when running on Java 6.  To suppress this message, run Tomcat in 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 would be available. 2014-7-10 23:00:10 org.apache.catalina.util.SessionIdGenerator createsecurerandom Info: Creation of SecureRandom Instance for session ID generation using [Sha1prng] took [] milliseconds.2014-7-10 23:00:11 Org.apache.catalina.startu P.hostconfig Deploywar Info: Deploying Web Application Archive D:\MyEclipse\apache-tomcat-7.0.53\webapps\ blazeds.war2014-7-10 23:00:13 org.apache.catalina.startup.HostConfig deploydirectory info: Deploying Web ApplicatIon Directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\docs2014-7-10 23:00:13 Org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\ apache-tomcat-7.0.53\webapps\examples2014-7-10 23:00:14 org.apache.catalina.core.ApplicationContext Log information: Contextlistener:contextinitialized () 2014-7-10 23:00:14 org.apache.catalina.core.ApplicationContext log information: Sessionlistener:contextinitialized () 2014-7-10 23:00:14 org.apache.catalina.core.ApplicationContext log information: contextlistener:attributeadded (' Org.apache.jasper.compiler.TldLocationsCache ', ' [email protected] ') 2014-7-10 23:00:14 org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\ Myeclipse\apache-tomcat-7.0.53\webapps\firstssh2014-7-10 23:00:16 Com.sun.faces.config.ConfigureListener Contextinitialized Info: Initialize context '/firstssh ' of Mojarra 2.0.3 (FCS b03) 2014-7-10 23:00:17 Com.sun.faces.spi.InjectionProviderFactory CreateInstance Information: JSF1048: PostconstruCt/predestroy comments. The Managedbeans method labeled with these comments will indicate that the comment has been processed. 2014-7-10 23:00:18 org.apache.catalina.core.StandardContext filterstart severity: Exception starting Filter Struts2java.lang.noclassdeffounderror:ognl/propertyaccessorat Com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer (Defaultconfiguration.java : 333) at Com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (defaultconfiguration.java:229) At Com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:67) at Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (dispatcher.java:445) at Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:489) at Org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher (initoperations.java:74) at Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init (Strutsprepareandexecutefilter.java : Org.apache.catalina.core.ApplicationFilterConfig.initFilter (applicationfilterconfig.java:279) at ORG.APache.catalina.core.ApplicationFilterConfig.getFilter (applicationfilterconfig.java:260) at Org.apache.catalina.core.applicationfilterconfig.<init> (applicationfilterconfig.java:105) at Org.apache.catalina.core.StandardContext.filterStart (standardcontext.java:4809) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5485) 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 (the 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.CLASSNOTFOUNDEXCEPTION:OGNL. Propertyaccessorat Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1720) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1571) at Java.lang.ClassLoader.loadClassInternal (classloader.java:320) ... more2014-7-10 23:00:18 org.apache.catalina.core.StandardContext startinternal severity: Error filterstart2014-7-10 23:00:18 org.apache.catalina.core.StandardContext startinternal Serious: Context [/firstssh] startup failed due to previous ERRORS2014-7-10 23:00:18 Org.apache.catalina.loader.WebappClassLoader checkthreadlocalmapforleaks serious: the web Application [/firstssh] created a ThreadLocal with key of type [com.sun.faces.util.util$1] (value [[email protected] ]) and a valuE of type [JAVA.UTIL.HASHMAP] (value [{com.sun.faces.patterncache={=}}]) but failed to remove it when the Web Applicatio N was stopped. Threads is going to being renewed over time to try and avoid a probable memory leak.2014-7-10 23:00:18 ORG.APACHE.CATALINA.S Tartup. Hostconfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\ host-manager2014-7-10 23:00:18 org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web Application Directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\manager2014-7-10 23:00:18 Org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\ apache-tomcat-7.0.53\webapps\root2014-7-10 23:00:18 org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\StudentSystem2014-7-10 23:00:21 Com.sun.faces.config.ConfigureListener contextinitialized Info: Initialize context '/studentsystem ' of Mojarra 2.0.3 (FCSB03) 2014-7-10 23:00:22 com.sun.faces.spi.InjectionProviderFactory CreateInstance info: JSF1048: postconstruct/ Predestroy comments. The Managedbeans method labeled with these comments will indicate that the comment has been processed. 2014-7-10 23:00:22 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: parsing configuration file [ struts-default.xml]2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Unable to locate Configuration files of the the name Struts-plugin.xml, skipping2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Parsing configuration file [struts-plugin.xml]2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Unable to locate configuration files of the name Stru Ts.xml, skipping2014-7-10 23:00:23 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Parsing configuration file [struts.xml]2014-7-10 23:00:23 com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Choosing bean (Struts) for (com.opensymphony.xwork2.ObjectFactory) 2014-7-10 23:00:23 com.opensymphony. Xwork2.util.logging.jdk.JdkLogger Info: Choosing bean (Struts) for (com.opensymphony.xwork2.factory.ActionFactory ) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info information: Choosing bean (Struts) for ( com.opensymphony.xwork2.factory.ResultFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.factory.ConverterFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.factory.InterceptorFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.factory.ValidatorFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.FileManagerFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Choosing bean (Struts) for (com.opensYmphony.xwork2.conversion.impl.XWorkConverter) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.impl.CollectionConverter) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.impl.ArrayConverter) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.impl.DateConverter) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.impl.NumberConverter) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.impl.StringConverter) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.CoNversionpropertiesprocessor) 2014-7-10 23:00:23 com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Choosing Bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.TypeConverterCreator) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.conversion.TypeConverterHolder) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.TextProvider) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info : Choosing bean (Struts) for (Com.opensymphony.xwork2.LocaleProvider) 2014-7-10 23:00:23 Com.opEnsymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.ActionProxyFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info info: Choosing bean (Struts) for (Com.opensymphony.xwork2.conversion.ObjectTypeDeterminer) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Org.apache.struts2.dispatcher.mapper.ActionMapper) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing Bean (Jakarta) for ( Org.apache.struts2.dispatcher.multipart.MultiPartRequest) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Org.apache.struts2.views.freemarker.FreemarkerManager) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Org.apache.struts2.components.UrlRenderer) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger Info: Choosing Bean (struts) for (Com.opensymphony.xwork2.validator.ActionValidatorManager) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.util.ValueStackFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.util.reflection.ReflectionProvider) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( com.opensymphony.xwork2.util.reflection.ReflectionContextFactory) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.util.PatternMatcher) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Org.apache.struts2.dispatcher.StaticContentLoader) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for (com.opensymphony.xwork2.UnknownHandlerManager) 2014-7-10 23:00:23 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper) 2014-7-10 23:00:23 Com.opensymphony.xwork2.util.logging.jdk.JdkLogger info: Choosing bean (Struts) for ( Com.opensymphony.xwork2.util.TextParser) 2014-7-10 23:00:23 org.apache.coyote.AbstractProtocol start info: Starting Protocolhandler ["http-apr-8686"]2014-7-10 23:00:23 org.apache.coyote.AbstractProtocol start info: Starting Protocolhandler ["ajp-apr-8009"]2014-7-10 23:00:23 Org.apache.catalina.startup.Catalina start info: Server startup in 16030 ms

2. Cause of error

Through this sentence caused BY:JAVA.LANG.CLASSNOTFOUNDEXCEPTION:OGNL. PropertyAccessor, the lack of Ognl-3.0.6.jar


3. Solutions

Copy the Ognl-3.0.6.jar to the Lib folder directory

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.