Exception in thread "main"java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/jsontype/PolymorphicTypeValidator
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethod(class.java:2128)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.iava:47)at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)Caused by:java.lang.classNotfoundException: com.fasterxml.jackson.databind.jsontype.PolymorphicTy
peValidatorat java.net.URLClassLoader.findClass(URLClassLoader.java:387)at java.lang.ClassLoader.loadClass(ClassLoader.java:418)at org.springframework .boot.loader,LaunchedURLclassLoader,1oadclass(LaunchedURLclassLoader.java:157)
at java.lang.ClassLoader.loadclass(ClassLoader.java:351) 这个是报错信息,图片放不上去,我测试了新建的项目,不勾选jmx监控可以正常启动,勾选之后就不能正常启动了,现在我的项目都没有通过启动按钮启动,直接再服务器上用命令启动的Java项目
|