Cannot access org.springframework.context.ConfigurableApplicationContext

新导入项目,提示报 Cannot access org.springframework.context.ConfigurableApplicationContext的错,百度一番,需删除导入项目自动生成的xxx.iml ,然后刷新下右侧maven tab即可,这里记录一下。

原文地址:https://www.cnblogs.com/zhanghb001/p/11756676.html

时间: 2024-10-24 06:49:29

Cannot access org.springframework.context.ConfigurableApplicationContext的相关文章

class file for org.springframework.context.ConfigurableApplicationContext not found 解决方法

(来自StackOverflow,GitHub) 问题原因:maven库缓存崩溃 解决方法: 1.使用命令行进入项目路径(pom.xml所在路径),执行mvn dependency:purge-local-repository 2.如果方法一还是不行,删除本地库中的~/.m2/repository/org/springframework文件夹,再执行mvn package 原文地址:https://www.cnblogs.com/somethingintheway/p/8480190.html

IDEA启动tomcat报错:java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext、ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component

先看日志: 27-May-2019 17:07:29.838 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M26 27-May-2019 17:07:29.844 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 2 2017 2

org.springframework.context.ApplicationContextAware使用理解

一.这个接口有什么用? 当一个类实现了这个接口(ApplicationContextAware)之后,这个类就可以方便获得ApplicationContext中的所有bean.换句话说,就是这个类可以直接获取spring配置文件中,所有有引用到的bean对象. 二.怎么用? 举个例子吧: 例如我有一个方法类AppUtil,这个方法类中需要使用到的ApplicationContext中的某个bean(companyService). 1.因为spring要建立属于自己的容器,就必须要加载自己的配置

【转】java.lang.ClassNotFoundException: org.springframework.context.event.GenericApplicationListener

http://www.cnblogs.com/softidea/p/6064091.html Caused by: java.lang.NoClassDefFoundError: org/springframework/context/event/GenericApplicationListener From the above error, application is unable to find the class defined from the jar dependencies. Ge

java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext

***************************错误提示************************************************ SEVERE: A child container failed during start java.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException: Failed to start component[StandardEngine[Cat

java.lang.ClassNotFoundException: org.springframework.context.event.GenericApplicationListener ----good

Caused by: java.lang.NoClassDefFoundError: org/springframework/context/event/GenericApplicationListener From the above error, application is unable to find the class defined from the jar dependencies. GenericApplicationListener is added from spring v

Mingyang.net:org.springframework.context.annotation.ConflictingBeanDefinitionException

org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'configController' for bean class [net.mingyang.modules.system.ConfigController] conflicts with existing, non-compatible bean definition of same

Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware

1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 0:25:53 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using

[org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on

<2015-4-10 下午02时55分35秒 CST> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerifica