一零五、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";
    }
相关文章
|
4月前
|
C++ Windows
vs2019 This application failed to start because it could not find or load the QT platform plugin
这篇文章介绍了在VS2019中解决QT程序运行时出现的“无法找到或加载QT平台插件”错误的步骤,通过将必要的DLL文件和插件目录复制到项目解决方案中解决了问题。
|
7月前
|
设计模式 人工智能 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
259 1
|
6月前
|
缓存 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 —【已解决】
1301 1
|
7月前
|
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
281 0
|
7月前
|
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
734 0
|
7月前
|
安全 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 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
855 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问题
Unknown run configuration type AndroidRunConfigurationType的解决办法
Unknown run configuration type AndroidRunConfigurationType的解决办法
114 0