决定从源代码构建ActiveMQ Artemis.我下载了Maven,下载了最新版本的ActiveMQ Artemis的源代码,然后运行mvn clean install
.
运行测试:
Running org.apache.activemq.artemis.core.server.embedded.MainTest
[main] 11:24:17,381 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/app/data,bindingsDirectory=/app/data/bindings,largeMessagesDirectory=/app/data/largemessages,pagingDirectory=/app/data/paging)
[main] 11:24:17,383 INFO [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal
[main] 11:24:17,384 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
[main] 11:24:17,408 INFO [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock
[main] 11:24:17,408 INFO [org.apache.activemq.artemis.core.server] AMQ221035: Live Server Obtained live lock
[main] 11:24:17,801 INFO [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
[main] 11:24:17,802 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.29.0 [localhost, nodeID=1b803010-119c-11ee-a6dd-005056850eda]
它会无限期地挂着. 这是我第一次这样做,你能告诉我我做错了什么吗?我不想跳过考试.我只是需要帮助来确定为什么测试没有结束.