【问题标题】:ClassPathXmlApplicationContext Not foundClassPathXmlApplicationContext 未找到
【发布时间】:2020-04-27 21:43:47
【问题描述】:

获取 ClassPathXmlApplicationContext 的异常未找到异常。 我添加了核心弹簧依赖:

<dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring-core</artifactId>
   <version>5.2.5.RELEASE</version>
</dependency>

【问题讨论】:

    标签: spring classnotfoundexception classnotfound


    【解决方案1】:

    您好,我遇到了这个问题,但通过使用 Dependency 解决了它:

    <dependency>
     <groupId>org.springframework</groupId>
          <artifactId>spring-context</artifactId>
                <version>5.2.5.RELEASE</version>
            </dependency>
    

    您可以相应地更改版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-05-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多