具体ERROR:
500 Servlet Exception
Annotation @WebServlet at 'org.springframework.http.server.reactive.JettyHttpHandlerAdapter'
must specify either value or urlPatterns
发布的时候提示的问题,提示需要配置url,但是项目里没有使用这个,而且定位不到具体位置,log里也是同样的错误:
jvm-app log:
[18-05-16 09:23:04.197] {resin-59} WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring root WebApplicationContext
2018-05-16 09:23:04 [INFO]-[org.springframework.web.context.ContextLoader] Root WebApplicationContext: initialization started
2018-05-16 09:23:04 [INFO]-[org.springframework.web.context.support.XmlWebApplicationContext] Refreshing Root WebApplicationContext: startup date [Wed May 16 09:23:04 CST 2018]; root of context hierarchy
2018-05-16 09:23:04 [INFO]-[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [springmybatis.xml]
2018-05-16 09:23:04 [INFO]-[org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor] JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-05-16 09:23:04 [INFO]-[com.mchange.v2.log.MLog] MLog clients using log4j logging.
2018-05-16 09:23:04 [INFO]-[com.mchange.v2.c3p0.C3P0Registry] Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
2018-05-16 09:23:05 [INFO]-[org.springframework.web.context.ContextLoader] Root WebApplicationContext: initialization completed in 1495 ms
[18-05-16 09:23:05.700] {resin-59} WebApp[production/webapp/default/ROOT] fail
[18-05-16 09:23:05.700] {resin-79} Annotation @WebServlet at 'org.springframework.http.server.reactive.JettyHttpHandlerAdapter' must specify either value or urlPatterns