About the exception caused by: java.lang.classnotfoundexception: com.alibaba.nacos.api.naming.namingmaintainservice
I recently reported this exception when I started the project with springboot. I searched the Internet for various reasons and finally found that:
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>1.2.0</version>
</dependency>
Plus the above dependence to solve this problem, troubled for more than an hour, wait to calm down just want to understand, record here!!!
Read More:
- NACOS error com.alibaba.nacos.api.exception.NacosException: failed to req API:/api//nacos/v1/ns/instance
- [Solved] com.alibaba.nacos.api.exception.NacosException: failed to req API
- Used by: Java. Lang. classnotfoundexception: org. PostgreSQL. Driver
- java.lang.AbstractMethodError: Receiver class com.alibaba.cloud.sentinel.feign.SentinelContractHolde
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Caused by: java.net.SocketException : connection reset or caused by: java.sql.SQLRecoverableException solve
- Caused by: java.lang.reflect.InvocationTargetExceptio
- java.lang.ClassNotFoundException : com.mysql.jdbc . driver project cannot connect to database, exception, lack of MySQL driver
- Caused by: java.lang.IllegalStateException: Ambiguou There is already ‘XXXXXXController‘ bean method
- Solution in idea java.lang.ClassNotFoundException : org.springframework.web . context.ContextLoaderListener
- Caused by: org.flywaydb.core.api.FlywayException: Validate failed: Migration checksum mismatch for m
- [Solved] failed to req API:/nacos/v1/ns/instance after all servers
- Idea error: (4, 28) Java: package com.alibaba.fastjson does not exist
- Mybatis exception error setting driver on unpoleddatasource. Cause: java.lang.ClassNotFoundException :
- Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\….\0.jar
- Caused by: java.io.IOException: APR error: -730053
- com.alibaba.fastjson .JSONException: For input string: “3000-01-01” or “9999-12-31”
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- android Caused by: java.util.ConcurrentModificationException
- Pyspark36830;- 25509;- Postgresql38169; java.lang.ClassNotFoundException: org.postgresql.Driver