所以,我有一個簡單的Maven項目,我想添加Spring框架支持,主要是生成Spring配置文件。但是,在名為“添加框架支持”的IntelliJ菜單中,我沒有看到Spring選項這是我的pom.xml文件:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>pl.javastart</groupId> <artifactId>spring-di-xml</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>12</maven.compiler.source> <maven.compiler.target>12</maven.compiler.target> <spring-framework.version>5.0.6.RELEASE</spring-framework.version> </properties> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring-framework.version}</version> </dependency> </dependencies></project>我嘗試重新導入Maven,但沒有結果。 任何建議將不勝感激。注:終極版2019.2.3編輯: 彈簧插件處于活動狀態。
1 回答

當年話下
TA貢獻1890條經驗 獲得超9個贊
Spring 框架支持僅在 IDEA 旗艦版中提供。
此功能僅在旗艦版中受支持。
編輯:轉到插件,在左側您會看到捆綁標題。檢查 Spring 工具是否在那里被停用。
添加回答
舉報
0/150
提交
取消