Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Hazarth95123yLet us know what the problem was if you solve it.
Im thinking there might be Something wrong with the string that doesn't show in the error, maybe an extra double slash, fucked up semicolon or something? Possiblly if this isn't comming from the URL or URI class then maybe some 3rd party lib is throwing it explicitly, no idea why they would though?
Dunno, at first sight it looks good to me too -
That exception doesn't usually quote the URL IIRC. Does your URL literally start and end with "? If so then that's the issue.
Could also be an encoding thing. -
epse36613y@AlmondSauce bingo! Or at least, partially. The config system apparently read in quotes as is, and prepended a BOM (which is invisible in the log)
-
epse36613y@johnmelodyme Spring is fine I guess, the documentation so pretty bad imo, you always have to look for some third party site to figure out the @Annotation magic, but that's an issue in the entire Java ecosystem. Most (even big) libraries we use in this services have "docs" that are little more than an autogenerated list of classes and their methods. And it's pretty heavy if you only use it for a microservice, if you make a monolith then the overhead isn't that bad.
Overall its pretty decent for the java ecosystem and does provide a lot of utility classes to plaster over some of the glaring deficiencies in the standard library and other common libraries.
Related Rants
Today in Cursed Java error messages, this beauty: `java.net.MalformedURLException: no protocol: "http://knowledgebase-api.development.svc.cluster.local/..."`
Yes, no protocol. You read that right. There is in fact a protocol there.
rant
url
java
cursed