一零五、Error starting ApplicationContext. To display the conditions report re-run your application with

简介: 一零五、Error starting ApplicationContext. To display the conditions report re-run your application with

报错信息



28.png


我原来的项目是没有问题的,结果今天加了一些页面运行不起来了,如上报错


刚开始我以为是端口占用,检查了一遍是不是端口占用。


dos命令窗口运行netstat -ano 看后面的进程,结果没有


27.png


后来想了想原来是 我后面新加的controller里面的注解和原来的注解重复了,导致程序不能正常运行了,注释掉新写的controller后程序正常运行!


25.png


26.png


/**
     * 新增学生用户
     */
    @GetMapping("/ToAddStu")
    public String ToAddStu() {
        return "teacher/tea-add-stu";
    }
相关文章
|
5月前
|
Docker 容器
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
|
8月前
|
缓存 Java Maven
Spring Boot 启动错误:To display the conditions report re-run your application with ‘debug‘ enable —【已解决】
Spring Boot 启动错误:To display the conditions report re-run your application with ‘debug‘ enable —【已解决】
1537 1
|
9月前
|
Java 数据库连接 Spring
【SpringBoot】Error starting ApplicationContext. To display the conditions report re--run your app
【SpringBoot】Error starting ApplicationContext. To display the conditions report re--run your app
305 0
|
9月前
|
Java
springboot启动报错:“Error starting ApplicationContext. To display the conditions report re-run your appl
springboot启动报错:“Error starting ApplicationContext. To display the conditions report re-run your appl
989 0
|
9月前
Error:Execution failed for task ':app:javaPreCompileDebug'. > Annotation processors must be explicit
Error:Execution failed for task ':app:javaPreCompileDebug'. > Annotation processors must be explicit
109 0
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
Java Spring
Command line is too long. Shorten command line for Application or also for Spring Boot default confi
Command line is too long. Shorten command line for Application or also for Spring Boot default confi
54 1
Error starting ApplicationContext. To display the auto-configuration report re-run your application
Error starting ApplicationContext. To display the auto-configuration report re-run your application
|
Java
【异常】SpringBoot报错Command line is too long.Shorten command line for Application or also for Applicatio
【异常】SpringBoot报错Command line is too long.Shorten command line for Application or also for Applicatio
1119 0
Unknown run configuration type AndroidRunConfigurationType的解决办法
Unknown run configuration type AndroidRunConfigurationType的解决办法
119 0