Hello @Bua,
Welcome to forum!
The code should be separate from the discussion in the post so it is easy to read and a simple click of the mouse to copy the code.
It is also important to provide details:
- Operating system
- Processing version
- Any other important details to reproduce the error.
I quoted this from your post:
Hi, this is an example to connect an Arduino-BLE33 Nano to LINK REMOVED and called TM_Collector.
I want to transfer Image-data with the virtuell COM to the processing TM_Connector application…
The library javax.xml.bind.DatatypeConverter of this application is imported in code but the Error says it does not exist…
I removed the link because my browsers did not allow me to view it.
There is a working link to a related GitHub topic in one of the references below.
Code provided:
import processing.serial.*;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import websockets.*;
import javax.xml.bind.DatatypeConverter;
import controlP5.*;
import java.util.*;
You did not provide enough code to reproduce the error.
I will be using Processing 4.4.7 and Windows 10 for this discussion.
Related discussions:
- Error with importing javax.xml.bind.DatatypeConverter
This is an example of incorrect formatting. I do not copy and correct these.
The solution does correct one error in the topic. - https://stackoverflow.com/questions/77415485/processing-4-3-issue-the-package-javax-xml-bind-does-not-exist-you-might-b
This appears to be the code you are using and I will use this in this topic.
Keep in mind that this is an old post (almost 2 years ago) and may be a solution for the version of Processing used at that time.
Using code from last reference above I get this:
Note:
The error in RED did NOT appear right away and I had to scroll down and select it for details.
Under the error there is code that is commented that MAY be a correction based on the some of the references listed and testing.
I was only testing so you have to scrutinize this and correct as required.
The warning in BLUE is something new… the code still ran.
Research suggests it a warning and not typically a critical issue.
I can’t comment or explore this further at this time.
And the sketch launched:
The details are important.
Have fun!
:)