It is indirectly referenced from required .class files

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: