關于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)} }
以上是代碼。啟動報錯。一直找不到問題
請求小馬哥幫忙指導下
2018-04-26
感覺是相關jar沒有導入,或者正確應用。