houlangs / Newlangs4

厚浪开发的新一代二级域名系统
https://app.houlangs.com
MIT License
50 stars 16 forks source link

后端无法启动,能帮忙看下吗? #37

Closed GUIDPTS closed 3 months ago

GUIDPTS commented 4 months ago

. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.7.6)

2024-07-02 19:24:34.074 INFO 1697569 --- [ main] c.guaning.newlangs.NewlangsApplication : Starting NewlangsApplication v4.0 using Java 17.0.6 on vps-da85da8b.net with PID 1697569 (/www/wwwroot/houduan/newlangs-springboot-4.0.jar started by www in /www/wwwroot/houduan) 2024-07-02 19:24:34.086 INFO 1697569 --- [ main] c.guaning.newlangs.NewlangsApplication : No active profile set, falling back to 1 default profile: "default" 2024-07-02 19:24:36.559 INFO 1697569 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-07-02 19:24:36.566 INFO 1697569 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-07-02 19:24:36.653 INFO 1697569 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 48 ms. Found 0 Redis repository interfaces. 2024-07-02 19:24:38.766 INFO 1697569 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8400 (http) 2024-07-02 19:24:38.786 INFO 1697569 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-07-02 19:24:38.786 INFO 1697569 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] 2024-07-02 19:24:38.979 INFO 1697569 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-07-02 19:24:38.979 INFO 1697569 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4737 ms Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter. 2024-07-02 19:24:39.997 INFO 1697569 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2024-07-02 19:24:40.440 INFO 1697569 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited Property 'mapperLocations' was not specified. | |. __ | | | |\/|)(| | |\ |)|||_\ / |
3.5.3.1 2024-07-02 19:24:41.330 WARN 1697569 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'domainRecordController' defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/controller/DomainRecordController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'domainRecordServiceImpl' defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/service/impl/DomainRecordServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'domainServiceImpl': Unsatisfied dependency expressed through method 'setDomainRecordService' parameter 0; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'domainRecordServiceImpl': Requested bean is currently in creation: Is there an unresolvable circular reference? 2024-07-02 19:24:41.330 INFO 1697569 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-07-02 19:24:41.332 INFO 1697569 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-07-02 19:24:41.343 INFO 1697569 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-07-02 19:24:41.406 INFO 1697569 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-07-02 19:24:41.447 ERROR 1697569 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

The dependencies of some of the beans in the application context form a cycle:

domainRecordController defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/controller/DomainRecordController.class] ??????? | domainRecordServiceImpl defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/service/impl/DomainRecordServiceImpl.class] ? ? | domainServiceImpl ???????

Action:

Despite circular references being allowed, the dependency cycle between beans could not be broken. Update your application to remove the dependency cycle.

. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.7.6)

2024-07-02 19:25:07.131 INFO 1697643 --- [ main] c.guaning.newlangs.NewlangsApplication : Starting NewlangsApplication v4.0 using Java 17.0.6 on vps-da85da8b.net with PID 1697643 (/www/wwwroot/houduan/newlangs-springboot-4.0.jar started by www in /www/wwwroot/houduan) 2024-07-02 19:25:07.140 INFO 1697643 --- [ main] c.guaning.newlangs.NewlangsApplication : No active profile set, falling back to 1 default profile: "default" 2024-07-02 19:25:09.962 INFO 1697643 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-07-02 19:25:09.973 INFO 1697643 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-07-02 19:25:10.066 INFO 1697643 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 53 ms. Found 0 Redis repository interfaces. 2024-07-02 19:25:12.209 INFO 1697643 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8400 (http) 2024-07-02 19:25:12.232 INFO 1697643 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-07-02 19:25:12.232 INFO 1697643 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] 2024-07-02 19:25:12.445 INFO 1697643 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-07-02 19:25:12.445 INFO 1697643 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5136 ms Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter. 2024-07-02 19:25:13.623 INFO 1697643 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2024-07-02 19:25:14.125 INFO 1697643 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited Property 'mapperLocations' was not specified. | |. __ | | | |\/|)(| | |\ |)|||_\ / |
3.5.3.1 2024-07-02 19:25:15.088 WARN 1697643 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'domainRecordController' defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/controller/DomainRecordController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'domainRecordServiceImpl' defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/service/impl/DomainRecordServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'domainServiceImpl': Unsatisfied dependency expressed through method 'setDomainRecordService' parameter 0; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'domainRecordServiceImpl': Requested bean is currently in creation: Is there an unresolvable circular reference? 2024-07-02 19:25:15.092 INFO 1697643 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-07-02 19:25:15.094 INFO 1697643 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-07-02 19:25:15.102 INFO 1697643 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-07-02 19:25:15.169 INFO 1697643 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-07-02 19:25:15.221 ERROR 1697643 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

The dependencies of some of the beans in the application context form a cycle:

domainRecordController defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/controller/DomainRecordController.class] ??????? | domainRecordServiceImpl defined in URL [jar:file:/www/wwwroot/houduan/newlangs-springboot-4.0.jar!/BOOT-INF/classes!/com/guaning/newlangs/service/impl/DomainRecordServiceImpl.class] ? ? | domainServiceImpl ???????

Action:

Despite circular references being allowed, the dependency cycle between beans could not be broken. Update your application to remove the dependency cycle.

`

SunWuyuan commented 4 months ago

使用更合适的17jdk,不要嵌套docker

SunWuyuan commented 4 months ago

@iguaning

GUIDPTS commented 4 months ago

使用更合适的1.8jdk,不要嵌套docker

需要哪个版本呢,按照文档说17.0.6呀

SunWuyuan commented 4 months ago

记错了

GUIDPTS commented 4 months ago

记错了

那能解决下不呢?

houlangs commented 4 months ago

开发人员已在跟进