hzxie / voj

A cross-platform online judge system based on Spring MVC framework and ActiveMQ.
https://verwandlung.org
GNU General Public License v3.0
569 stars 121 forks source link

web项目启动失败 #28

Closed chinghonsun closed 6 years ago

chinghonsun commented 6 years ago

项目无法启动,tomcat报错: [INFO] 2017-11-21 18:41:40,366 [localhost-startStop-1] com.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed 21-Nov-2017 18:41:40.368 SEVERE [localhost-startStop-1] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException

hzxie commented 6 years ago

你Maven依赖没有下载全吧。

chinghonsun commented 6 years ago

com/fasterxml/jackson/databind/exc/InvalidDefinitionException 这个类是在哪个包的?

hzxie commented 6 years ago

@chinghonsun It is obvious that the class is defined in the package named com.fasterxml.jsckson.