一零五、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";
    }
相关文章
|
7月前
|
缓存 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 —【已解决】
1319 1
|
8月前
|
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
289 0
|
8月前
|
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
767 0
|
8月前
|
安全 Java 应用服务中间件
A configuration error occurred during startup.Please verify the preference field with the prompt: To
A configuration error occurred during startup.Please verify the preference field with the prompt: To
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
46 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
873 0
|
Java 测试技术
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
361 0
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
|
自然语言处理 Python
A reportable application error has occurred. Conda has prepared the above report......
A reportable application error has occurred. Conda has prepared the above report......
245 0
A reportable application error has occurred. Conda has prepared the above report......