0

我在 Window 7 Ultimate 64 位操作系统上安装了 Mirth Connect 版本 3.5.0.8232。它似乎安装成功。但是,我单击“开始”启动 Mirth Connect 服务,它给出了错误消息“无法启动 Mirth Connect 服务”。我检查了日志文件,它有异常消息。查看服务器管理器,看起来服务确实启动了,因为启动按钮已禁用,而重新启动、停止、刷新和管理员已启用。有谁知道如何解决这个问题?

如果我单击管理员按钮,它会给出以下消息(将在最底部发布管理员屏幕的异常消息):

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$000(Unknown Source)
    at com.sun.javaws.Main$1.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$6.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.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.access$200(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.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$6.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.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.access$200(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.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$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
4

1 回答 1

2

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

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

于 2017-05-04T18:16:15.323 回答