Investigation
1, if the entity class implements Serializable ID best not include a sequence number less (IDEA setting file - setting-editor-inspections-java-serializable issues - serialVersionUID tick, the entity class selection ALT + ENTER generated serialVersionUID)
2、
//1.创建ConnectionFactory
ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(url);
((ActiveMQConnectionFactory) connectionFactory).setTrustAllPackages(true);//这里设置为true 具体原因应该是安全设置问题