问答详情
源自:4-1 Spring Boot 课堂总结

关于spring boot 2.0的Servlet注解


com.imooc.firstspringdemo.weinxinjavax.servlet.ServletExceptionjavax.servlet.annotation.javax.servlet.http.HttpServletjavax.servlet.http.HttpServletRequestjavax.servlet.http.HttpServletResponsejava.io.IOException(= )
Servlet HttpServlet {
    (HttpServletRequest requestHttpServletResponse response) ServletExceptionIOException {

    }

    (HttpServletRequest requestHttpServletResponse response) ServletExceptionIOException {

    }
}
com.imooc.firstspringdemoorg.springframework.boot.SpringApplicationorg.springframework.boot.autoconfigure.org.springframework.boot.web.servlet.FirstSpringDemoApplication{
   (String[] args) {
      SpringApplication.(FirstSpringDemoApplication.args)}
}

以上是代码。启动报错。一直找不到问题

https://img1.mukewang.com/5ad45ead0001799316020702.jpg

请求小马哥帮忙指导下

提问者:李大仙喵 2018-04-16 16:28

个回答

  • 小明同学爱思考
    2018-04-26 14:14:30

    感觉是相关jar没有导入,或者正确应用。