Hi J, I think we'd need more information on how you are building/installing the DSpace backend. What version of Maven are you using? What version of Java? (Hint, you can run `mvn -v` to get both). Is this an upgrade or a fresh install? (It's possible that if you are upgrading in place, then there could be old JARs hanging around that are confusing DSpace.)
You might also simply try rebuilding and forcing DSpace to download fresh dependencies (via -U): "mvn -U clean package" Then redeploy via "ant update". Essentially, this sort of dependency error usually means either you are building DSpace with the wrong version of Java or Maven... *or* somehow the build failed to download all the correct dependencies (or is getting confused by older DSpace 6 dependencies in your DSpace 7 install, if you just upgraded). Good luck and let us know on this list what you find. Tim On Wednesday, August 24, 2022 at 4:59:55 PM UTC-5 [email protected] wrote: > Hi community, > > I installed version 7.3. There's no problem to build the backend. But when > launch the application in Tomcat, there's a class missing: > > Caused by: java.lang.ClassNotFoundException: > com.fasterxml.jackson.databind.ObjectMapper > at > java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) > ... 193 more > > Actually jar contains the class exist in maven and lib of dspace. I > thought the Tomcat just can not find the jars. I manually copy 3 jars: > jackson-core-2.12.6.jar > jackson-databind-2.12.6.1.jar > jackson-annotations-2.12.6.jar > into tomcat's lib folder. Then there's a differen error complaining > signature of the class. Seems I should not copy these 3 jars. > > Any one have the same issue? > > Cheers > J > > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/8d91dda8-d2bf-4f7d-877c-3e8d0a528c25n%40googlegroups.com.
