[Registry] Registry merged with spring boot project first bullet

Insert picture description here

1 Overview

I currently have a jetty project, which is an open source registry project, which seems to use the dropwizard-core framework. Now I have a spring boot project and want to include the registry. I directly moved the source code of the registry project to my project. , And then only the code that starts the registry runs locally successfully, but an error is reported when accessing the page

No error when not visiting

  1. These two projects should be able to integrate, right?
  2. Has anyone encountered this error?

The code copy is as follows
Insert picture description here
. After running, click on the home page, and note that the main class is runningcom.hortonworks.registries.webservice.RegistryApplication

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/112954349