Community
Participate
Working Groups
I when using this annotation @PathParam("id") @NotNull UUID uuid Eclipse will show this warning: "JSR-311, 3.2: The class java.util.UUID should have a constructor that accepts a single java.lang.String argument, or have a static method named valueOf that accepts a single java.lang.String argument." Which is true but the JSR-311 explicitly also falls back to fromString() when no valueOf() method is found. "4. Types that have a static method named valueOf or fromString with a single String argument that return an instance of the type. If both methods are present then valueOf MUST be used unless the type is an enum in which case fromString MUST be used."
Thomas, What version of WTP (or Eclipse) were you using when you encountered this? Have you tried this on the latest Mars.2 GA? I am moving this over to Web Services, since they own the support for JAX-RS.
Hi, The Es I'm using the latest eclipse Mars on Windows 7. I can check the exact version when I'm on my computer again. Which osgi bundle should I look up? ss webtools ?!
Hi Thomas, I don't think this is WTP. What exactly do you you have installed over Mars?
Hi Thomas, This actually doesn't belong to WTP. The message is coming from WDT. I will forward this issue to them.