Apache ActiveMQ 5.5.0 启动时报如下错:
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstap classloader, but this RI (from jar:file:/D:/develop/activemq/apache-activemq 5.3.0/bin/../lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuild r.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api. ar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guidestandards/)
经查询资料是jar包版本冲突所致,jdk自带2.0API,而ActiveMQ的lib包下有个2.1API,所以启动时冲突。
去掉ActiveMQ下的jaxb-impl-2.1.6.jar包后不再报错。
分享到:
相关推荐
apache-activemq Linux版本
Apache ActiveMQ JMS实现
Instant Apache ActiveMQ Messaging Application Development How-to源码
Apache ActiveMQ5.8 入门最简单例子 消息队列 Master
apache-activemq-5.16.0.zip
apache-activemq-5.9.0-bin.zip
activemq, Apache ActiveMQ镜像 欢迎来到 Apache ActiveMQis是一个高性能的Apache 2.0许可以消息代理和 JMS 1.1实现。正在启动要帮助你入门,请尝试以下链接:入门http://activemq.apache.org/version-
apache activemq 中间件
Apache ActiveMQ教程 JMS 整合Tomcat
Apache ActiveMQ 教程 提供了相关的部署过程、开发方式等
Apache ActiveMQ Queue Topic 详解 教程 加入代码解释说明
Apache ActiveMQ是Apache软件基金会的一个开源项目,是一个基于消息的通信中间件。ActiveMQ是JMS的一个具体实现,支持JMS的两种消息模型。ActiveMQ使用AMQP协议集成多平台应用,使用STOMP协议通过websockets在Web...
4.配置环境变量,配置完环境变量之后在任何地方都可以使用命令 activemq启动 ACTIVEMQ_HOME=/opt/apache-activemq-5.15.12 PATH=/opt/apache-activemq-5.15.12/bin:$PATH export ACTIVEMQ_HOME PATH 5....
apache-activemq-5.11.2 附全解教程 apache-activemq-5.11.2 附全解教程
apache-activemq-4.1.1.jar
apache-activemq-5.15.15二进制包,安装包,apache-activemq-5.15.15-bin.tar.gz
apache-activemq-5.8.0-bin.zip
apache-activemq-5.16.0
apache-activemq