我将Springboot版本更新到2.7.0,返回错误后:
\n描述:
\nAn attempt was made to call a method that does not exist. The attempt was made from the following location:\n\n org.webjars.WebJarAssetLocator.scanForWebJars(WebJarAssetLocator.java:183)\n\nThe following method did not exist:\n\n \'io.github.classgraph.ClassGraph io.github.classgraph.ClassGraph.acceptPaths(java.lang.String[])\'\n\nThe calling method\'s class, org.webjars.WebJarAssetLocator, was loaded from the following location:\n\n jar:file:/home/gabriel/.m2/repository/org/webjars/webjars-locator-core/0.50/webjars-locator-core-0.50.jar!/org/webjars/WebJarAssetLocator.class\n\nThe called method\'s class, io.github.classgraph.ClassGraph, is available from the following locations:\n\n jar:file:/home/gabriel/.m2/repository/io/github/classgraph/classgraph/4.8.69/classgraph-4.8.69.jar!/io/github/classgraph/ClassGraph.class\n\nThe called method\'s class hierarchy was loaded from the following locations:\n\n io.github.classgraph.ClassGraph: file:/home/gabriel/.m2/repository/io/github/classgraph/classgraph/4.8.69/classgraph-4.8.69.jar\n\n\nAction:\n\nCorrect the classpath of your application so that it contains compatible versions of the classes …
Run Code Online (Sandbox Code Playgroud)