spring-boot:run启动报错

Intellij Idea中的spring boot项目,使用main方法运行可以启动,但是使用mvn spring-boot:run启动总是报错

大概意思就是找不到类:org/apache/maven/shared/artifact/filter/collection/ArtifactsFilter

原来是没有在仓库中找到对应的插件,指定一个找得到的版本号即可解决

<build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>1.5.2.RELEASE</version>
            </plugin>
        </plugins>
    </build>
时间: 2024-10-14 10:10:46

spring-boot:run启动报错的相关文章

IDEA下spring boot+fremarker启动报错would dispatch back to the current handler URL [/hello] again. Check your ViewResolver setup!

详细报错代码(ps:标题中写不下报错主要代码) javax.servlet.ServletException: Circular view path [hello]: would dispatch back to the current handler URL [/hello] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default vie

关于spring boot项目启动报错问题

这次用了spring boot,项目在启动时报错,由于我用的是jdk 1.7 ,该项目默认的是jdk 1.8,所以要把下面这一系列配置改好才行.废话不多说,上图: 一看发现,项目环境没有配全,打开file->Project Structuer,找到Project ,把里面的jdk配置成你自己的. 还有Modules里面的的这几项: 然后找到file->setting-->Java Compiler 里面 这些都配置好才能起动main函数启动服务.

spring boot 整合kafka 报错 Exception thrown when sending a message with key=&#39;null&#39; and payload=JSON to topic proccess_trading_end: TimeoutException: Failed to update metadata after 60000 ms.

org.springframework.kafka.support.LoggingProducerListener- Exception thrown when sending a message with key='null' and payload='{"dataDts":["20180329","20180328","20180327","20180326","20180323"]

Spring Boot配置FastJson报错&#39;Content-Type&#39; cannot contain wildcard type &#39;*&#39;

https://www.cnblogs.com/xiaopotian/p/8654993.html 升级到最新版本的fastjson以后报的错,查了一下资料,发现 fastjson从1.1.41升级到1.2.28之后,请求报错:json java.lang.IllegalArgumentException: 'Content-Type' cannot contain wildcard type '*' 原因是在1.1.41中,FastJsonHttpMessageConverter初始化时,设置

Spring Boot连接MySQL报错“Internal Server Error”的解决办法

报错信息如下: {timestamp: "2018-06-14T03:48:23.436+0000", status: 500, error: "Internal Server Error",-} error : "Internal Server Error" message : "Could not open JDBC Connection for transaction; nested exception is java.sql.S

spring boot 2.0 报错:“jdbcUrl is required with driverClassName.” 解决办法!

springboot 升级到2.0之后发现配置多数据源的时候报错: "jdbcUrl is required with driverClassName."或者Cause: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required.] with root cause 主要原因是在1.0 配置数据源的过程中主要是写成:spring.datasource.url 和

idea点击RUN启动报错: Broken configuration due to unavailable plugin or invalid configuration dat

今天照常打开idea,突然发现之前的启动配置出问题了,随后报了一个这个错: Run Configuration Error: Broken configuration due to unavailable plugin or invalid configuration data. 于是乎,查阅资料后,快捷键 Ctrl+Alt+S打开idea配置,选择 Plugins,查找Tomcat和,发现已经是打勾的,此时可能是idea软件出bug了,去除勾勾,再次打勾,重启idea,再次打开就正常啦 原文地

spring+mybatis项目启动报错Initializing Spring root WebApplicationContext

where <![CDATA[ rn > (#{pageNumber,jdbcType=DECIMAL} - 1) * #{pageSize,jdbcType=DECIMAL} ]]> and <![CDATA[ rn <= #{pageNumber,jdbcType=DECIMAL} * #{pageSize,jdbcType=DECIMAL} ]]>

【spring data jpa】启动报错:nested exception is java.util.NoSuchElementException

spring boot项目中 使用spring data jpa 启动报错: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dealerTransferServiceImpl': Unsatisfied dependency expressed through field 'dealerTransferDao'; nested exception i