Open source software supply chain lighting plan, waiting for you>>>
The type org.apache.activemq.jms.pool.PooledConnectionFactory cannot be resolved.
It is indirectly referenced from required .class files
questions
Now you use Maven to manage jars. Maven jars also have dependencies on other jars. You can find the dependencies by looking at the corresponding POM files
For example: activemq-pool-5.10.0.pom
reasons
This class refers to other classes, but this class is not added to classpath
solutions
Check the POM of the corresponding jar to see if any dependent jars have not been introduced
reflection
Maven actually relies on more jars than or equal to the dependency you added
Similar Posts:
- Exception resolution: java.lang.IllegalStateException: Failed to introspect Class
- Error reporting of dependency package introduced by idea
- [How to Solve] SEVERE: Error configuring application listener of
- SpringMVC Error: Cannot resolve org.springframework:spring-webmvc:5.2.9.RELEASE
- [Solved] SpringBoot Access Redis Error: java.lang.NoSuchMethodError: redis.clients.jedis.JedisPoolConfig.setMinEvictableIdleTime
- [Solved] An attempt was made to call a method that does not exist. The attempt was made from the following location:
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- Run jar file under Linux system, prompt: no main manifest attribute, in xxx.jar [How to Solve]
- Using Maven helper to resolve Maven plug-in conflicts
- java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.Log4jLoggerFactory