我想在项目窗口中显示.gradle和build文件夹,但我也想将它们包含在.gitignore文件中.
我的应用程序是一个 Web 应用程序,当使用“mvn spring-boot:run”运行时,我能够成功命中端点。唯一的问题是在 intellij 中以调试模式运行时应用程序关闭并且无法调试我的应用程序。
pom.xml:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.2.RELEASE</version>
<relativePath/> <!-- lookup parent body repository -->
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-activemq</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!--<scope>provided</scope>-->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Run Code Online (Sandbox Code Playgroud)
输出:
=========================
AUTO-CONFIGURATION REPORT
=========================
Positive matches:
-----------------
.....
Negative matches:
-----------------
ActiveMQAutoConfiguration:
Did not match:
- @ConditionalOnMissingBean (types: javax.jms.ConnectionFactory; SearchStrategy: all) found bean 'getConnectionFactory' (OnBeanCondition)
Matched:
- @ConditionalOnClass found required classes 'javax.jms.ConnectionFactory', 'org.apache.activemq.ActiveMQConnectionFactory'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition) …
Run Code Online (Sandbox Code Playgroud) 我在 http 文件中有 10 个 http 请求,希望通过单击来运行它们,而不是单击每个请求并查看输出。后续请求使用先前请求的输出,因此我想以自动方式连续运行它们。