Mirth Connect 版本 3.5.0.8232 无法启动服务

Mirth Connect Version 3.5.0.8232 Cannot Start Service

我在 Window 7 Ultimate 64 位 OS 上安装了 Mirth Connect 版本 3.5.0.8232。看来安装成功了。但是,我点击 Start 启动 Mirth Connect 服务,它给出了错误消息 "The Mirth Connect Service could not be started." 我检查了日志文件,它有异常消息。查看服务器管理器,看起来服务确实启动了,因为启动按钮被禁用,重启、停止、刷新和管理员被启用。有谁知道如何解决这个问题?

如果我单击“管理员”按钮,它会显示以下消息(将 post 管理员屏幕的异常消息显示在最底部):

Could not load file/URL specified: http://localhost:8080/webstart.jnlp?maxHeapSize=512m

日志文件错误消息

ERROR 2017-05-04 13:14:44,608 [Main Server Thread] Server: Exception in thread "Main Server Thread" java.lang.IncompatibleClassChangeError
ERROR 2017-05-04 13:14:44,610 [Main Server Thread] Server:  at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:384)
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server:  at org.eclipse.jetty.util.statistic.CounterStatistic.<init>(CounterStatistic.java:35)
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server:  at org.eclipse.jetty.server.session.AbstractSessionManager.<init>(AbstractSessionManager.java:136)
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server:  at org.eclipse.jetty.server.session.HashSessionManager.<init>(HashSessionManager.java:124)
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server:  at org.eclipse.jetty.server.session.SessionHandler.<init>(SessionHandler.java:70)
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server:  at org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:297)
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server:  at org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:392)
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server:  at org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:200)
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server:  at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:172)
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server:  at org.eclipse.jetty.webapp.WebAppContext.<init>(WebAppContext.java:266)
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server:  at org.eclipse.jetty.webapp.WebAppContext.<init>(WebAppContext.java:211)
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server:  at com.mirth.connect.server.MirthWebServer.<init>(MirthWebServer.java:202)
ERROR 2017-05-04 13:14:44,613 [Main Server Thread] Server:  at com.mirth.connect.server.Mirth.startWebServer(Mirth.java:376)
ERROR 2017-05-04 13:14:44,613 [Main Server Thread] Server:  at com.mirth.connect.server.Mirth.startup(Mirth.java:252)
ERROR 2017-05-04 13:14:44,613 [Main Server Thread] Server:  at com.mirth.connect.server.Mirth.run(Mirth.java:153)
ERROR 2017-05-04 13:14:44,614 [Main Server Thread] Server: Caused by: java.lang.NoSuchMethodException: no such method: java.lang.invoke.LambdaMetafactory.metafactory(Lookup,String,MethodType,MethodType,MethodHandle,MethodType)CallSite/invokeStatic
ERROR 2017-05-04 13:14:44,614 [Main Server Thread] Server:  at java.lang.invoke.MemberName.makeAccessException(MemberName.java:763)
ERROR 2017-05-04 13:14:44,614 [Main Server Thread] Server:  at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:880)
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server:  at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1037)
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server:  at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1341)
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server:  at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:382)
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server:  ... 14 more
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server: Caused by: java.lang.NoSuchMethodError: java.lang.invoke.LambdaMetafactory.metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server:  at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server:  at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:852)
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server:  at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:877)
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server:  ... 17 more

管理员错误:

CouldNotLoadArgumentException[ Could not load file/URL specified: http://localhost:8080/webstart.jnlp?maxHeapSize=512m]
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access[=12=]0(Unknown Source)
    at com.sun.javaws.Main.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.access0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    ... 5 more

当我点击 Wrapped Exception 选项卡时,它显示了这个异常:

java.net.ConnectException: Connection refused: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.access0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access[=13=]0(Unknown Source)
    at com.sun.javaws.Main.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

这可能是由于使用了不兼容的 JRE。确保您使用的是官方 Oracle JRE 版本 8 或更高版本。您现在使用的具体版本是什么?

还要确保,如果您是 运行 Mirth Connect 的 64 位发行版,请使用 Java 的 64 位版本。