Pleace give me a solutions quikly...
10 次查看(过去 30 天)
显示 更早的评论
java.lang.RuntimeException: Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server: 127.0.0.1:31614
at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doNativeEnsureServiceOn(Native Method)
at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doEnsureServiceOn(ConnectorImpl.java:231)
at com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn(Connector.java:150)
at com.mathworks.mde.liveeditor.plugins.execution.LiveEditorExecutionDockingManager.<init>(LiveEditorExecutionDockingManager.java:35)
Warning: Issue starting Connector. Please check that port 31515 is available. Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server:
127.0.0.1:31614
at com.mathworks.mde.liveeditor.plugins.execution.LiveEditorExecutionDockingManager.getInstance(LiveEditorExecutionDockingManager.java:25)
at com.mathworks.mde.liveeditor.LiveEditorInitializationManager.initialize(LiveEditorInitializationManager.java:26)
at com.mathworks.mde.desk.MLDesktop$7$1.run(MLDesktop.java:935)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.RuntimeException: Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server: 127.0.0.1:31614
回答(1 个)
Andreas Goser
2024-6-25
There is a generic knowledgebase article about the "31515 error here, which points to firewall topics as mentioned in the comments. And yes, if you and your IT cannot solve this, please contact MathWorks support.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!