java.lang.Exception: no desired endpoints returned at com.jellyleo.opcua.client.ClientRunner.lambda$createClient$2(ClientRunner.java:118) at java.util.Optional.orElseThrow(Optional.java:290) at com.jellyleo.opcua.client.ClientRunner.createClient(ClientRunner.java:118) at com.jellyleo.opcua.client.ClientRunner.run(ClientRunner.java:62) at com.jellyleo.opcua.client.ClientHandler.connect(ClientHandler.java:64) at com.jellyleo.opcua.controller.CommonController.connect(CommonController.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
时间: 2023-11-27 16:04:19 浏览: 92
这段调用堆栈信息看起来像是一个 OPC UA 客户端在连接时出现了问题。 `no desired endpoints returned` 错误通常意味着客户端无法找到它想要连接的服务端节点或者没有可用的服务端节点。这可能是因为客户端配置错误、服务端节点不存在或者网络连接问题造成的。建议检查客户端配置和服务端节点是否存在,并检查网络连接是否正常。如果问题仍然存在,你可以提供更多上下文信息以帮助我更好地帮助你解决问题。
相关问题
请翻译一下内容 Transaction ID: 0xbe18 Flags: 0x0100 Standard query 0... .... .... .... = Response: Message is a query .000 0... .... .... = Opcode: Standard query (0) .... ..0. .... .... = Truncated: Message is not truncated .... ...1 .... .... = Recursion desired: Do query recursively .... .... .0.. .... = Z: reserved (0) .... .... ...0 .... = Non-authenticated data: Unacceptable
这段内容是一段网络协议中的数据包信息,包含以下字段:
Transaction ID: 0xbe18 表示本次传输的事务ID为0xbe18。
Flags: 0x0100 表示标志位为0x0100。
Standard query 0... .... .... .... 表示这是一个标准查询。
.000 0... .... .... 表示操作码为标准查询。
.... ..0. .... .... 表示信息没有被截断。
.... ...1 .... .... 表示递归查询。
.... .... .0.. .... 表示保留字段。
.... .... ...0 .... 表示不是认证数据,不可接受。
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError:
org/springframework/web/servlet/DispatcherServlet
This exception is thrown when the handler dispatch fails in a Spring web application. The nested exception, java.lang.NoClassDefFoundError, indicates that a class required by the application could not be found at runtime.
In this specific case, the missing class is org.springframework.web.servlet.DispatcherServlet. This class is part of the Spring MVC framework and is responsible for handling requests in a web application.
To resolve this issue, you need to ensure that the necessary Spring MVC dependencies are present in your application's classpath. Make sure that you have included the required Spring MVC JAR files in your project's dependencies or build configuration.
If you are using a dependency management tool like Maven or Gradle, you can add the necessary dependencies to your project's configuration file. For example, in Maven, you can add the following dependency to your pom.xml file:
```xml
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>{version}</version>
</dependency>
```
Replace `{version}` with the desired version of the Spring framework.
If you are not using a dependency management tool, you will need to manually download the required JAR files and add them to your project's classpath.
Once you have ensured that the necessary dependencies are present, rebuild and redeploy your application to see if the issue is resolved.
阅读全文
相关推荐
















