Mat*_*toe 0 google-app-engine spring-mvc
使用Spring MVC开发Google App Engine应用程序时,在OSX上运行dev服务器时会出现以下异常:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0':
Initialization of bean failed [...]
nested exception is java.lang.NoClassDefFoundError:
java.time.format.FormatStyle is a restricted class. Please see the
Google App Engine developer's guide for more details.
Run Code Online (Sandbox Code Playgroud)
如果我将我的应用程序上传到Google App Engine的云服务器,则此错误不会出现.
怎么绕过它?
| 归档时间: |
|
| 查看次数: |
1214 次 |
| 最近记录: |