【问题标题】:Spring boot application intellijSpring Boot 应用程序 intellij
【发布时间】:2015-03-25 01:39:03
【问题描述】:

自动装配和 bean 检测功能不适用于我的 Spring Boot 应用程序。该应用程序运行良好,只是intellij 没有正确检测到bean。我在模块中添加了 Spring facet、hibernate facet、jpa facet。

这是我的主要课程:

@SpringBootApplication
@EnableWebMvcSecurity
@ImportResource("classpath:spring/applicationContext.xml")
public class MyApplication{

    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class, args);
    }

【问题讨论】:

    标签: intellij-idea spring-boot


    【解决方案1】:

    这是 IntelliJ 中的一个已知错误。但是,14.1 版本计划提供适当的 Spring Boot 支持(上次我检查此版本应该在几个月内准备好)。查看IDEA-119230了解更多详情。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-12-05
      • 2016-03-15
      • 2016-06-20
      • 2021-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多