Caused by: java.lang.ClassNotFoundException: org.springframework.expression.ExpressionParser
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 0:44:33 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8. 2014-7-12 0:44:33 org.apache.catalina.core.AprLifecycleListener init 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 2014-7-12 0:44:34 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013) 2014-7-12 0:44:34 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8686"] 2014-7-12 0:44:34 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 2014-7-12 0:44:34 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1063 ms 2014-7-12 0:44:34 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 2014-7-12 0:44:34 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.53 2014-7-12 0:44:35 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-7-12 0:44:35 org.apache.catalina.startup.HostConfig deployWAR 信息: Deploying web application archive D:\MyEclipse\apache-tomcat-7.0.53\webapps\blazeds.war 2014-7-12 0:44:37 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\docs 2014-7-12 0:44:37 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\examples 2014-7-12 0:44:37 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 2014-7-12 0:44:37 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 2014-7-12 0:44:37 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@ad97f5') 2014-7-12 0:44:37 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\FirstSSH 2014-7-12 0:44:40 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 2014-7-12 0:44:40 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2014-7-12 0:44:40 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization started 2014-7-12 0:44:40 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh 信息: Refreshing Root WebApplicationContext: startup date [Sat Jul 12 00:44:40 CST 2014]; root of context hierarchy 2014-7-12 0:44:41 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] 2014-7-12 0:44:41 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed java.lang.NoClassDefFoundError: org/springframework/expression/ExpressionParser at org.springframework.context.support.AbstractApplicationContext.prepareBeanFactory(AbstractApplicationContext.java:556) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) 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) Caused by: java.lang.ClassNotFoundException: org.springframework.expression.ExpressionParser at 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) ... 19 more 2014-7-12 0:44:41 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: org/springframework/expression/ExpressionParser at org.springframework.context.support.AbstractApplicationContext.prepareBeanFactory(AbstractApplicationContext.java:556) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) 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) Caused by: java.lang.ClassNotFoundException: org.springframework.expression.ExpressionParser at 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) ... 19 more 2014-7-12 0:44:41 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/FirstSSH' 的 Mojarra 2.0.3 (FCS b03) 2014-7-12 0:44:41 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 2014-7-12 0:44:42 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 2014-7-12 0:44:42 org.apache.catalina.core.StandardContext startInternal 严重: Context [/FirstSSH] startup failed due to previous errors 2014-7-12 0:44:42 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2014-7-12 0:44:42 org.springframework.web.context.support.XmlWebApplicationContext doClose 信息: Closing Root WebApplicationContext: startup date [Sat Jul 12 00:44:40 CST 2014]; root of context hierarchy 2014-7-12 0:44:42 org.springframework.web.context.support.XmlWebApplicationContext doClose 警告: Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Sat Jul 12 00:44:40 CST 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:346) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:880) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:841) at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) 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-7-12 0:44:42 org.springframework.web.context.support.XmlWebApplicationContext doClose 警告: Exception thrown from LifecycleProcessor on context close java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sat Jul 12 00:44:40 CST 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:359) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:888) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:841) at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) 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-7-12 0:44:42 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [/FirstSSH] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@13638d4]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 2014-7-12 0:44:42 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\host-manager 2014-7-12 0:44:42 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\manager 2014-7-12 0:44:42 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\ROOT 2014-7-12 0:44:42 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\StudentSystem 2014-7-12 0:44:44 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/StudentSystem' 的 Mojarra 2.0.3 (FCS b03) 2014-7-12 0:44:44 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Parsing configuration file [struts-default.xml] 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Unable to locate configuration files of the name struts-plugin.xml, skipping 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Parsing configuration file [struts-plugin.xml] 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Unable to locate configuration files of the name struts.xml, skipping 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Parsing configuration file [struts.xml] 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper) 2014-7-12 0:44:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser) 2014-7-12 0:44:45 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-apr-8686"] 2014-7-12 0:44:45 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-apr-8009"] 2014-7-12 0:44:45 org.apache.catalina.startup.Catalina start 信息: Server startup in 11136 ms
2、错误原因
通过这句“Caused by: java.lang.ClassNotFoundException: org.springframework.expression.ExpressionParser”可知,这是缺少Spring的一个jar包
3、解决办法
将“spring-expression-4.0.0.M3.jar”复制到lib目录下,再次启动服务
Caused by: java.lang.ClassNotFoundException: org.springframework.expression.ExpressionParser的更多相关文章
- 【异常】Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationException
Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationException ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware
1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.HibernateTemplate
1.错误描述 严重: Context initialization failed org.springframework.beans.factory.CannotLoadBeanClassExcept ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.boot.bind.RelaxedPropertyResolver
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.bind.RelaxedPropertyResolver 这 ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.socket.server.standard.ServerEndpointExporter
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/web/socket/ ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.boot.system.JavaVersion
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.system.JavaVersion Invalid pro ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.FilterRegistrationBean
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.FilterRegistr ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.data.repository.config.BootstrapMode
1.起因,启动SpringBoot2.0的时候报了这个错误.说找不到类,咱也是刚学SpringBoot2.0,咱也不懂,咱也不知道问谁,研究一翻,找不到原因就百度了. 参考链接:https://blo ...
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.filter.FormContentFilter
又是一个报错,我写代码真的是可以,所有的bug都会被我遇到,所有的问题我都能踩一遍,以前上学的时候同学就喜欢问我问题,因为他们遇到的问题,我早就遇到了......... 看看报错内容: 2019-04 ...
随机推荐
- 使用Django实现分页器功能
要使用Django实现分页器,必须从Django中导入Paginator模块 from django.core.paginator import Paginator 假如现在有150条记录要显示,每页 ...
- BZOJ 4129: Haruna’s Breakfast [树上莫队 分块]
传送门 题意: 单点修改,求一条链的mex 分块维护权值,$O(1)$修改$O(S)$求mex...... 带修改树上莫队 #include <iostream> #include < ...
- BZOJ 4766: 文艺计算姬 [矩阵树定理 快速乘]
传送门 题意: 给定一个一边点数为n,另一边点数为m,共有n*m条边的带标号完全二分图$K_{n,m}$ 求生成树个数 1 <= n,m,p <= 10^18 显然不能暴力上矩阵树定理 看 ...
- BZOJ 3105: [cqoi2013]新Nim游戏 [高斯消元XOR 线性基]
以后我也要用传送门! 题意:一些数,选择一个权值最大的异或和不为0的集合 终于有点明白线性基是什么了...等会再整理 求一个权值最大的线性无关子集 线性无关子集满足拟阵的性质,贪心选择权值最大的,用高 ...
- POJ 1830 开关问题 [高斯消元XOR]
和上两题一样 Input 输入第一行有一个数K,表示以下有K组测试数据. 每组测试数据的格式如下: 第一行 一个数N(0 < N < 29) 第二行 N个0或者1的数,表示开始时N个开关状 ...
- 2048小游戏代码解析 C语言版
2048小游戏,也算是风靡一时的益智游戏.其背后实现的逻辑比较简单,代码量不算多,而且趣味性强,适合作为有语言基础的童鞋来加强编程训练.本篇分析2048小游戏的C语言实现代码. 前言 游戏截图: 游 ...
- C#查询XML解决“需要命名空间管理器”问题
在查询xml时有时会遇到带有前缀的xml,例如:"<ows:Keyword></ows:Keyword>" 这时像往常一样查询就会报错,类似于"需 ...
- SDN第三次作业
作业链接 阅读文章:http://www.sdnlab.com/19777.html 阅读<重构网络>第一二章 列举openflow1.0的12元组? 入端口 源MAC地址 目的MAC地址 ...
- 文件读写io操作范例
系统io读写,copy int main(int argc, char **argv) { if(argc != 3) { printf("Usage: %s <src> ...
- jquery对象和DOM对象的区别和转换
jquery对象和DOM对象的区别和转换 在使用jquery时,我们直接通过jq的选择器获取元素,然后对元素进行操作,用jq选择器获取到的对象是一个jq对象,jq对象能够使用jq提供的方法,但是不能用 ...