Spring Boot应用程序IntelliJ

阿巴顿

自动装配和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);
    }
Bohuslav Burghardt

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

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Spring Boot应用程序中的会话

Spring Boot应用程序部署问题

使Spring Boot应用程序启动更快

黄瓜测试Spring Boot应用程序

IntelliJ不会终止使用Gradle构建的Spring Boot应用程序

使用Spring Boot和多模块进行Maven配置-在Intellij中运行应用程序

远程调试Spring Boot应用程序

使用IntelliJ在Spring Boot中自定义应用程序属性

Intellij找不到我的Spring Boot应用程序

Spring Boot应用程序中的NonUniqueResultException

Spring Boot应用程序运行失败

Spring Boot应用程序即服务

Spring Boot应用程序可以在IntelliJ中运行,但不能作为Docker容器运行

Spring Boot JNDI应用程序设置

Intellij Spring Boot应用程序无法在Tomcat中运行

从Spring Boot应用程序访问SessionFactory

调试独立的Spring Boot应用程序(Intellij IDEA)

无法在IntelliJ中启动Spring Boot + thymeleaf应用程序

使用IntelliJ部署支持嵌入式tomcat的spring-boot应用程序

应用程序启动失败-Spring Boot

重新打包Spring Boot应用程序

Spring Boot应用程序的Intellij IDEA中缺少映射

在IntelliJ中运行Spring Boot Gradle应用程序时始终获取404

多个Spring Boot应用程序

使用Intellij IDEA重新加载远程Spring Boot应用程序时发生异常

Spring Boot 应用程序通过 Maven 运行良好,但不能通过 IDE Intellij IDEA

部署 spring boot 应用程序的问题

在 IntelliJ 中创建 Spring Boot 应用程序后立即出错

如何在intellij中运行spring boot应用程序?