2017年11月17日

Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

摘要: 其实是maven配置有问题,我把spring boot的内置容器干掉了,spring boot内置tomcat容器,我pom.xml是这样写的。 1 2 3 4 5 6 7 8 9 10 11 12 我的pom.xml把tomcat容器干掉了,然后我又没有什么容器能够运行,所以会报错。 我只需要使用 阅读全文

posted @ 2017-11-17 18:29 Alex0111 阅读(593) 评论(0) 推荐(0) 编辑

Spring boot ---- java.lang.NoClassDefFoundError: javax/servlet/ServletContext

摘要: Spring boot java.lang.NoClassDefFoundError: javax/servlet/ServletContext 场景描述 项目中用到spring boot进行带页面的开发,从github上的simples中下载了对应的spring-boot-sample-web-j 阅读全文

posted @ 2017-11-17 18:19 Alex0111 阅读(2617) 评论(0) 推荐(0) 编辑

IntelliJ IDEA教程之如何clean或者install Maven项目

摘要: 一、前言 Eclipse中如果我们想clean或者install工程,我们只需要右键工程,然后找到run->Maven install 或者run->Maven clean就可以了,但是IDEA中我们要怎么去操作呢? 二、步骤 ♦这里我们介绍两种方式,如何调试出窗口 点击菜单栏View->Tool 阅读全文

posted @ 2017-11-17 16:16 Alex0111 阅读(1073) 评论(0) 推荐(0) 编辑

导航