Dependency issue with Eclipse Milo: NoSuchMethodError with OpcUaXmlDecoder.readVariantValue() #13
Mame-Ibra859
started this conversation in
General
Replies: 3 comments 1 reply
-
|
Ha, when I renamed that and pushed it earlier this morning I had a feeling it was going to break something. Hang on… |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@Mame-Ibra859 you should be able to re-build the image and run it now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@kevinherron thank you, it works now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to compile my project with Eclipse Milo, but I am encountering a Maven error during the command.
/media/sda9/mif/eclipse-milo/opc-ua-demo-server # docker run --rm -it -p 4840:4840 -v /tmp/opc-ua-demo-server-data:/app/data opc-ua-demo-server
Picked up JAVA_TOOL_OPTIONS:
17:31:58.241 [main] INFO o.e.m.o.s.c.s.KeyStoreCertificateStore - Loading KeyStore at /app/data/security/pki/certificates.pfx
17:31:59.157 [main] INFO o.e.m.opcua.sdk.server.OpcUaServer - Java version: 21.0.6
17:31:59.157 [main] INFO o.e.m.opcua.sdk.server.OpcUaServer - Eclipse Milo OPC UA Stack version: 1.0.0-SNAPSHOT
17:31:59.157 [main] INFO o.e.m.opcua.sdk.server.OpcUaServer - Eclipse Milo OPC UA Server SDK version: 1.0.0-SNAPSHOT
Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.Object org.eclipse.milo.opcua.stack.core.encoding.xml.OpcUaXmlDecoder.readVariantValue()'
at com.digitalpetri.opcua.uanodeset.namespace.NodeSetNodeLoader.decodeXmlValue(NodeSetNodeLoader.java:571)
at com.digitalpetri.opcua.uanodeset.namespace.NodeSetNodeLoader.loadNodes(NodeSetNodeLoader.java:222)
at com.digitalpetri.opcua.uanodeset.namespace.NodeSetAddressSpace.load(NodeSetAddressSpace.java:107)
at org.eclipse.milo.opcua.sdk.server.LifecycleManager$1.startup(LifecycleManager.java:99)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891)
at org.eclipse.milo.opcua.sdk.server.LifecycleManager.onStartup(LifecycleManager.java:51)
at org.eclipse.milo.opcua.sdk.server.AbstractLifecycle.startup(AbstractLifecycle.java:32)
at org.eclipse.milo.opcua.sdk.server.ManagedAddressSpaceFragmentWithLifecycle.startup(ManagedAddressSpaceFragmentWithLifecycle.java:110)
at com.digitalpetri.opcua.server.OpcUaDemoServer.(OpcUaDemoServer.java:202)
at com.digitalpetri.opcua.server.OpcUaDemoServer.main(OpcUaDemoServer.java:502)
/media/sda9/mif/eclipse-milo/opc-ua-demo-server #
Beta Was this translation helpful? Give feedback.
All reactions