一零五、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";
    }
相关文章
|
3天前
|
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
17 0
|
4月前
|
设计模式 人工智能 Java
Error: JavaFX runtime components are missing, and are required to run this application with Gradle e
Error: JavaFX runtime components are missing, and are required to run this application with Gradle e
70 1
|
29天前
|
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
47 0
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
5月前
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
|
6月前
|
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
30 0
|
11月前
|
网络协议
Job for named.service failed because the control process exited with error code.
Job for named.service failed because the control process exited with error code.
510 0
|
自然语言处理 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......
178 0
A reportable application error has occurred. Conda has prepared the above report......
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
956 0
Error starting ApplicationContext. To display the conditions report re-run your application with
|
Java Android开发
Error starting static Resources caused by project facet
Error starting static Resources caused by project facet
Error starting static Resources caused by project facet